From 26caf09948cce030ac09ea895a1cb8d7febc9970 Mon Sep 17 00:00:00 2001 From: waldek Date: Sun, 26 Jun 2022 12:09:35 +0200 Subject: [PATCH] includes vimspector --- vundle_essentials.vimrc | 2 +- waldek_plugins.list | 3 +++ waldek_plugins.vimrc | 24 ++++++++++++++++++++---- 3 files changed, 24 insertions(+), 5 deletions(-) diff --git a/vundle_essentials.vimrc b/vundle_essentials.vimrc index 74af70f..6410f78 100644 --- a/vundle_essentials.vimrc +++ b/vundle_essentials.vimrc @@ -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 gd (lsp-definition) nmap gpd (lsp-peek-definition) diff --git a/waldek_plugins.list b/waldek_plugins.list index aa2ccd8..3065957 100644 --- a/waldek_plugins.list +++ b/waldek_plugins.list @@ -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' diff --git a/waldek_plugins.vimrc b/waldek_plugins.vimrc index 59e416d..2ead28a 100644 --- a/waldek_plugins.vimrc +++ b/waldek_plugins.vimrc @@ -130,16 +130,32 @@ let g:NERDDefaultAlign = 'left' " vebugger " -------- -let g:vebugger_leader='d' +"let g:vebugger_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 :AsyncRun -cwd=$(VIM_FILEDIR) -raw python3 "$(VIM_FILEPATH)" -noremap :AsyncStop -noremap :cclose +"autocmd filetype python noremap :AsyncRun -cwd=$(VIM_FILEDIR) -raw python3 "$(VIM_FILEPATH)" +"noremap :AsyncStop +"noremap :cclose " marker specific " ---------------