From 95e2fea9510ddf5f329dd487b7cbfca89e68350f Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sat, 30 Apr 2022 21:00:05 +0200 Subject: [PATCH] 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. --- nvim/.config/nvim/lua/plug/_lsp.lua | 1 + sh/.local/bin/clip | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nvim/.config/nvim/lua/plug/_lsp.lua b/nvim/.config/nvim/lua/plug/_lsp.lua index ce2acaa..ccbbd85 100644 --- a/nvim/.config/nvim/lua/plug/_lsp.lua +++ b/nvim/.config/nvim/lua/plug/_lsp.lua @@ -92,6 +92,7 @@ local sumneko_root_path = "/usr/share/lua-language-server" require'navigator'.setup({ lsp = { servers = {'efm'}, + disable_lsp = {"pylsp", "jedi_language_server"}, sumneko_lua = { cmd = { "lua-language-server", "-E", sumneko_root_path .. "/main.lua" diff --git a/sh/.local/bin/clip b/sh/.local/bin/clip index ec89175..42e6147 100755 --- a/sh/.local/bin/clip +++ b/sh/.local/bin/clip @@ -3,9 +3,8 @@ # clip -- easy copying to clipboard manager with # wl-copy / xclip / xsel # -# clips the first argument to the clipboard -# or stdin if stdin is passed -# will copy png/jpg as image files +# clips arguments passed to the clipboard +# or stdin if stdin is passed. # # idea ~~stolen~~ creatively borrowed from # https://github.com/kyazdani42/dotfiles/blob/master/bin/copy