We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After the last update, the config shown in the README of navigator.lua throws an error:
navigator.lua
Error ON_ATTACH_ERROR: ".../navigator.lua/lua/navigator/codeAction.lua:209: bad argument #1 to 'next' (table expected, got nil)"
Error is here in codeAction.lua on line 209.
codeAction.lua
My assumption is, that the only variable introduced in 53efe4b5cea5e99d2216449330f205d71251fdc7 must be set, which it isn't, as documented in the readme:
only
-- excerpt from navigator.lua readme on_attach = function(client, bufnr) require("navigator.lspclient.mapping").setup({ client = client, bufnr = bufnr }) -- setup navigator keymaps here, require("navigator.dochighlight").documentHighlight(bufnr) require("navigator.codeAction").code_action_prompt(bufnr)
Calling code_action_prompt with an empty table require("navigator.codeAction").code_action_prompt(bufnr, {}) silences the error.
code_action_prompt
require("navigator.codeAction").code_action_prompt(bufnr, {})
The text was updated successfully, but these errors were encountered:
No branches or pull requests
After the last update, the config shown in the README of
navigator.lua
throws an error:Error is here in
codeAction.lua
on line 209.My assumption is, that the
only
variable introduced in 53efe4b5cea5e99d2216449330f205d71251fdc7 must be set, which it isn't, as documented in the readme:Calling
code_action_prompt
with an empty tablerequire("navigator.codeAction").code_action_prompt(bufnr, {})
silences the error.The text was updated successfully, but these errors were encountered: