includes vimspector
This commit is contained in:
parent
7973bf32b3
commit
26caf09948
|
@ -66,7 +66,7 @@ autocmd BufEnter * if tabpagenr('$') == 1 && winnr('$') == 1 && exists('b:NERDTr
|
||||||
" the definition of a function or class
|
" the definition of a function or class
|
||||||
function! s:on_lsp_buffer_enabled() abort
|
function! s:on_lsp_buffer_enabled() abort
|
||||||
setlocal omnifunc=lsp#complete
|
setlocal omnifunc=lsp#complete
|
||||||
setlocal signcolumn=no " messes with some autocomplete!
|
"setlocal signcolumn=no " messes with some autocomplete!
|
||||||
if exists('+tagfunc') | setlocal tagfunc=lsp#tagfunc | endif
|
if exists('+tagfunc') | setlocal tagfunc=lsp#tagfunc | endif
|
||||||
nmap <buffer> gd <plug>(lsp-definition)
|
nmap <buffer> gd <plug>(lsp-definition)
|
||||||
nmap <buffer> gpd <plug>(lsp-peek-definition)
|
nmap <buffer> gpd <plug>(lsp-peek-definition)
|
||||||
|
|
|
@ -17,5 +17,8 @@ Plugin 'iamcco/markdown-preview.nvim'
|
||||||
"Plugin 'Shougo/vimproc.vim'
|
"Plugin 'Shougo/vimproc.vim'
|
||||||
"Plugin 'idanarye/vim-vebugger'
|
"Plugin 'idanarye/vim-vebugger'
|
||||||
Plugin 'puremourning/vimspector'
|
Plugin 'puremourning/vimspector'
|
||||||
|
Plugin 'sagi-z/vimspectorpy', { 'do': { -> vimspectorpy#update() } }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Plugin 'kalafut/vim-taskjuggler'
|
Plugin 'kalafut/vim-taskjuggler'
|
||||||
|
|
|
@ -130,16 +130,32 @@ let g:NERDDefaultAlign = 'left'
|
||||||
" vebugger
|
" vebugger
|
||||||
" --------
|
" --------
|
||||||
|
|
||||||
let g:vebugger_leader='<Leader>d'
|
"let g:vebugger_leader='<Leader>d'
|
||||||
|
|
||||||
|
" vimspector
|
||||||
|
" --------
|
||||||
|
|
||||||
|
let g:vimspector_enable_mappings = 'HUMAN'
|
||||||
|
set signcolumn=yes
|
||||||
|
|
||||||
|
sign define vimspectorBP text=\ ● texthl=WarningMsg
|
||||||
|
sign define vimspectorBPCond text=\ ◆ texthl=WarningMsg
|
||||||
|
sign define vimspectorBPLog text=\ ◆ texthl=SpellRare
|
||||||
|
sign define vimspectorBPDisabled text=\ ● texthl=LineNr
|
||||||
|
sign define vimspectorPC text=\ ▶ texthl=MatchParen linehl=CursorLine
|
||||||
|
sign define vimspectorPCBP text=●▶ texthl=MatchParen linehl=CursorLine
|
||||||
|
sign define vimspectorCurrentThread text=▶ texthl=MatchParen linehl=CursorLine
|
||||||
|
sign define vimspectorCurrentFrame text=▶ texthl=Special linehl=CursorLine
|
||||||
|
|
||||||
|
|
||||||
" asyncrun
|
" asyncrun
|
||||||
" --------
|
" --------
|
||||||
|
|
||||||
let $PYTHONUNBUFFERED=1
|
let $PYTHONUNBUFFERED=1
|
||||||
let g:asyncrun_open = 8
|
let g:asyncrun_open = 8
|
||||||
autocmd filetype python noremap <F5> :AsyncRun -cwd=$(VIM_FILEDIR) -raw python3 "$(VIM_FILEPATH)"<CR>
|
"autocmd filetype python noremap <F5> :AsyncRun -cwd=$(VIM_FILEDIR) -raw python3 "$(VIM_FILEPATH)"<CR>
|
||||||
noremap <F6> :AsyncStop<CR>
|
"noremap <F6> :AsyncStop<CR>
|
||||||
noremap <F10> :cclose<CR>
|
"noremap <F10> :cclose<CR>
|
||||||
|
|
||||||
" marker specific
|
" marker specific
|
||||||
" ---------------
|
" ---------------
|
||||||
|
|
Loading…
Reference in New Issue