diff options
Diffstat (limited to 'vim')
| -rw-r--r-- | vim/.vimrc | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -87,7 +87,6 @@ autocmd User LspSetup call LspOptionsSet(#{ \ autoHighlightDiags: v:true, \ }) -" one list instead of N copy-pasted if-executable/augroup blocks autocmd User LspSetup call LspAddServer([ \ #{name: 'pylsp', filetype: 'python', path: 'pylsp'}, \ #{name: 'clangd', filetype: ['c', 'cpp', 'objc', 'objcpp'], @@ -100,9 +99,6 @@ autocmd User LspSetup call LspAddServer([ \ path: 'typescript-language-server', args: ['--stdio']}, \ ]) -" keymaps: explicit :Lsp* commands mapped by hand, buffer-local, same idea as -" your old on_lsp_buffer_enabled() but no separate function/augroup needed — -" this fires once per attached buffer via the plugin's own event autocmd User LspAttached call s:lsp_keymaps() function! s:lsp_keymaps() abort nmap <buffer> gs :LspDocumentSymbol<CR> |
