diff --git a/lua/navigator/lspclient/attach.lua b/lua/navigator/lspclient/attach.lua index ed5f977..d6fccf5 100644 --- a/lua/navigator/lspclient/attach.lua +++ b/lua/navigator/lspclient/attach.lua @@ -73,7 +73,7 @@ M.on_attach = function(client, bufnr) end if _NgConfigValues.lsp.code_action.enable then - if client.server_capabilities.codeLensProvider and client.name ~= 'null-ls' then + if client.server_capabilities.codeActionProvider and client.name ~= 'null-ls' then log('code action enabled for client', client.server_capabilities.codeActionProvider) api.nvim_create_autocmd({ 'CursorHold', 'CursorHoldI' }, { group = api.nvim_create_augroup('NGCodeActGroup_' .. tostring(bufnr), {}),