diff --git a/.vim/vimrc b/.vim/vimrc index c28302c..2523600 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -1106,16 +1106,6 @@ if executable('gopls') \ }) augroup END endif -if executable('ruff-lsp') - augroup lsp_ruff - autocmd! - au User lsp_setup call lsp#register_server({ - \ 'name': 'ruff-lsp', - \ 'cmd': {server_info->[&shell, &shellcmdflag, 'ruff-lsp']}, - \ 'allowlist': ['python'], - \ }) - augroup END -endif if executable('nil') augroup lsp_nil autocmd! @@ -1194,6 +1184,16 @@ if executable('pylsp') " \ 'cmd': {server_info->['pyls']}, augroup END endif +"if executable('ruff-lsp') +" augroup lsp_ruff +" autocmd! +" au User lsp_setup call lsp#register_server({ +" \ 'name': 'ruff-lsp', +" \ 'cmd': {server_info->[&shell, &shellcmdflag, 'ruff-lsp']}, +" \ 'allowlist': ['python'], +" \ }) +" augroup END +"endif if executable('omnisharp') " https://www.rockyourcode.com/use-vim-for-c-sharp-development-on-linux/ augroup lsp_omnisharp