summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorZofia Szweda <sophies@disroot.org>2026-09-06 21:49:15 +0200
committerZofia Szweda <sophies@disroot.org>2026-09-06 21:49:15 +0200
commitd844d33f5c534597dc9e3e528b52f18fa35623ed (patch)
tree62ebb3aaf5f0a776fc24d545f5fa7595e9b6ded4 /vim
parent6eddfad2deed5c4600f451af2722ee31803d7031 (diff)
cleanup
Diffstat (limited to 'vim')
-rw-r--r--vim/.vimrc4
1 files changed, 0 insertions, 4 deletions
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 <buffer> gs :LspDocumentSymbol<CR>