aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vim/after/plugin/lsp.vim11
1 files changed, 0 insertions, 11 deletions
diff --git a/.vim/after/plugin/lsp.vim b/.vim/after/plugin/lsp.vim
index 0f53146..6066caa 100644
--- a/.vim/after/plugin/lsp.vim
+++ b/.vim/after/plugin/lsp.vim
@@ -1,14 +1,6 @@
let g:lsp_diagnostics_enabled = 0
let g:lsp_document_code_action_signs_enabled = 0
-if executable('pyls')
- au User lsp_setup call lsp#register_server({
- \ 'name': 'pyls',
- \ 'cmd': {server_info->['pyls']},
- \ 'allowlist': ['python'],
- \ })
-endif
-
if executable('gopls')
au User lsp_setup call lsp#register_server({
\ 'name': 'gopls',
@@ -19,7 +11,6 @@ endif
function! s:on_lsp_buffer_enabled() abort
setlocal omnifunc=lsp#complete
- setlocal signcolumn=yes
if exists('+tagfunc') | setlocal tagfunc=lsp#tagfunc | endif
nmap <buffer> gd <plug>(lsp-definition)
nmap <buffer> gs <plug>(lsp-document-symbol-search)
@@ -28,8 +19,6 @@ function! s:on_lsp_buffer_enabled() abort
nmap <buffer> gi <plug>(lsp-implementation)
nmap <buffer> gy <plug>(lsp-type-definition)
nmap <buffer> <leader>rn <plug>(lsp-rename)
- " nmap <buffer> [g <plug>(lsp-previous-diagnostic)
- " nmap <buffer> ]g <plug>(lsp-next-diagnostic)
nmap <buffer> K <plug>(lsp-hover)
let g:lsp_format_sync_timeout = 1000