From d844d33f5c534597dc9e3e528b52f18fa35623ed Mon Sep 17 00:00:00 2001 From: Zofia Szweda Date: Sun, 6 Sep 2026 21:49:15 +0200 Subject: cleanup --- vim/.vimrc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'vim/.vimrc') diff --git a/vim/.vimrc b/vim/.vimrc index 7d3bf10..2f2d5ae 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -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 gs :LspDocumentSymbol -- cgit v1.2.3