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,