From: Stefan Huber Date: Fri, 18 Apr 2025 19:36:33 +0000 (+0200) Subject: plugins: Remove vimspector X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=a7f02d161ba3f9406c9d767cc4c19e160f017608;p=vimconf.git plugins: Remove vimspector --- diff --git a/plugins-full.vim.example b/plugins-full.vim.example index fbf28d0..6efd294 100644 --- a/plugins-full.vim.example +++ b/plugins-full.vim.example @@ -34,7 +34,8 @@ Plug 'Konfekt/FastFold' Plug 'gko/vim-coloresque' -Plug 'puremourning/vimspector' +" replace by https://github.com/mfussenegger/nvim-dap +" Plug 'puremourning/vimspector' Plug 'Konfekt/vim-DetectSpellLang', {'do': 'spell'} @@ -398,41 +399,6 @@ EOF let g:vimtex_view_use_temp_files = v:true " let g:airline#extensions#vimtex#enabled = 1 - au FileType c,cpp,objc,java,python packadd! vimspector - let g:vimspector_base_dir = expand('~/.vim/vimspector-config') - let g:vimspector_install_gadgets = [ 'debugpy', 'vscode-cpptools' ] - "let g:vimspector_enable_mappings = 'VISUAL_STUDIO' - - function VimspectorRestartOrCreateConfig() - if !filereadable('.vimspector.json') - echo "Missing .vimspector.json, created one." - execute 'tabe .vimspector.json' - else - call vimspector#Restart() - endif - endfunction - - nmap dc VimspectorContinue - nmap ds VimspectorStop - nmap dr :call VimspectorRestartOrCreateConfig() - "nmap dr :call vimspector#Restart() - nmap drr :call vimspector#Reset() - nmap dp VimspectorPause - nmap db VimspectorToggleBreakpoint - nmap dcb VimspectorToggleConditionalBreakpoint - nmap dfb VimspectorAddFunctionBreakpoint - nmap dtc VimspectorRunToCursor - nmap do VimspectorStepOver - nmap di VimspectorStepInto - nmap dof VimspectorStepOut - " for normal mode, the word under the cursor - nmap de VimspectorBalloonEval - " for visual mode, the visually selected text - xmap de VimspectorBalloonEval - - au BufNewFile .vimspector.json read ~/.vim/vimspector-config/vimspector.json - - let g:arduino_auto_baud = 1 let g:arduino_use_slime = 1 endfunction