nvim: Disable uninstalled python language servers

Had to manually disable python lsps that are not on my system since
neovim otherwise complains about it whenever I enter a new python
filetype file.
This commit is contained in:
Marty Oehme 2022-04-30 21:00:05 +02:00
parent 9a46a94827
commit 95e2fea951
Signed by: Marty
GPG key ID: B7538B8F50A1C800
2 changed files with 3 additions and 3 deletions

View file

@ -92,6 +92,7 @@ local sumneko_root_path = "/usr/share/lua-language-server"
require'navigator'.setup({ require'navigator'.setup({
lsp = { lsp = {
servers = {'efm'}, servers = {'efm'},
disable_lsp = {"pylsp", "jedi_language_server"},
sumneko_lua = { sumneko_lua = {
cmd = { cmd = {
"lua-language-server", "-E", sumneko_root_path .. "/main.lua" "lua-language-server", "-E", sumneko_root_path .. "/main.lua"

View file

@ -3,9 +3,8 @@
# clip -- easy copying to clipboard manager with # clip -- easy copying to clipboard manager with
# wl-copy / xclip / xsel # wl-copy / xclip / xsel
# #
# clips the first argument to the clipboard # clips arguments passed to the clipboard
# or stdin if stdin is passed # or stdin if stdin is passed.
# will copy png/jpg as image files
# #
# idea ~~stolen~~ creatively borrowed from # idea ~~stolen~~ creatively borrowed from
# https://github.com/kyazdani42/dotfiles/blob/master/bin/copy # https://github.com/kyazdani42/dotfiles/blob/master/bin/copy