Skip to content
New issue

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

Fix LSP error message #522

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

mcDevnagh
Copy link
Contributor

zk list's error messages says zk.tag.list in the error message, when it should be zk list

Repro Steps

call the following lua code in neovim with the zk lsp attached:

require("zk.api").list("", {}, function(err, notes)
    vim.print(err)
end)

the following error message is printed:

{
  code = -32600,
  message = "zk.tag.list expects a `select` option with the list of fields to return",
  <metatable> = {
    __tostring = <function 1>
  }
}

@mcDevnagh mcDevnagh requested a review from tjex February 21, 2025 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant