From 5dfa293d7735f0215ab51c2c6feb531f4cca023a Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 2 Oct 2022 22:54:45 +0200 Subject: [PATCH] nvim: add link to bug for hover problem --- .config/nvim/lua/my/lsp.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/nvim/lua/my/lsp.lua b/.config/nvim/lua/my/lsp.lua index 8d0d1fd..ada315a 100644 --- a/.config/nvim/lua/my/lsp.lua +++ b/.config/nvim/lua/my/lsp.lua @@ -59,7 +59,7 @@ local on_attach = function(client, bufnr) }, bufnr) end - -- -- show help on hover + -- -- show help on hover () -- if client.server_capabilities.hoverProvider then -- vim.api.nvim_create_autocmd({ 'CursorHold', 'CursorHoldI' }, { -- group = 'config_lsp', @@ -101,7 +101,7 @@ local simple_ls = { ['yaml-language-server'] = 'yamlls', ['docker-langserver'] = 'dockerls', } -for exe,ls in pairs(simple_ls) do +for exe, ls in pairs(simple_ls) do if vim.fn.executable(exe) > 0 then lspconfig[ls].setup({ on_attach = on_attach,