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
|
||||
function! s:on_lsp_buffer_enabled() abort
|
||||
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
|
||||
nmap <buffer> gd <plug>(lsp-definition)
|
||||
nmap <buffer> gpd <plug>(lsp-peek-definition)
|
||||
|
|
|
@ -17,5 +17,8 @@ Plugin 'iamcco/markdown-preview.nvim'
|
|||
"Plugin 'Shougo/vimproc.vim'
|
||||
"Plugin 'idanarye/vim-vebugger'
|
||||
Plugin 'puremourning/vimspector'
|
||||
Plugin 'sagi-z/vimspectorpy', { 'do': { -> vimspectorpy#update() } }
|
||||
|
||||
|
||||
|
||||
Plugin 'kalafut/vim-taskjuggler'
|
||||
|
|
|
@ -130,16 +130,32 @@ let g:NERDDefaultAlign = 'left'
|
|||
" 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
|
||||
" --------
|
||||
|
||||
let $PYTHONUNBUFFERED=1
|
||||
let g:asyncrun_open = 8
|
||||
autocmd filetype python noremap <F5> :AsyncRun -cwd=$(VIM_FILEDIR) -raw python3 "$(VIM_FILEPATH)"<CR>
|
||||
noremap <F6> :AsyncStop<CR>
|
||||
noremap <F10> :cclose<CR>
|
||||
"autocmd filetype python noremap <F5> :AsyncRun -cwd=$(VIM_FILEDIR) -raw python3 "$(VIM_FILEPATH)"<CR>
|
||||
"noremap <F6> :AsyncStop<CR>
|
||||
"noremap <F10> :cclose<CR>
|
||||
|
||||
" marker specific
|
||||
" ---------------
|
||||
|
|
Loading…
Reference in New Issue