From b26ed328a7e882c4458c7aa69e09401d92d18886 Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 8 Sep 2022 01:33:24 +0200 Subject: [PATCH] nvim: perlls: remove broken check and disable autostart --- .config/nvim/lua/my/lsp.lua | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.config/nvim/lua/my/lsp.lua b/.config/nvim/lua/my/lsp.lua index bbbd192..64eba7f 100644 --- a/.config/nvim/lua/my/lsp.lua +++ b/.config/nvim/lua/my/lsp.lua @@ -193,13 +193,12 @@ if vim.fn.executable('gopls') > 0 then }) end --- FIXME: binary probably doesn't exist even when installed -if vim.fn.executable('perlls') > 0 then - lspconfig.perlls.setup({ - on_attach = on_attach, - capabilities = capabilities - }) -end +-- there is no good and fast enough way to check for its existence +lspconfig.perlls.setup({ + autostart = false, + on_attach = on_attach, + capabilities = capabilities +}) if vim.fn.executable('qml-lsp') > 0 then lspconfig.qml_lsp.setup({