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

configuring eslint/noConfig handler ? #3413

Open
davidosomething opened this issue Nov 1, 2024 · 1 comment
Open

configuring eslint/noConfig handler ? #3413

davidosomething opened this issue Nov 1, 2024 · 1 comment
Labels
question Further information is requested

Comments

@davidosomething
Copy link

Description

according to fe65c92#diff-abae925898033611bb8a6fe94b196d364c64999f6e6a12bb553486d88c62158dR124

we should be able to add a handler in the config for eslint lsp

{
  handlers = {
    ["eslint/noConfig"] = function()
      vim.notify("handled")
    end,
  }
}

@entropitor this doesn't seem to work, am i doing something wrong?

@davidosomething davidosomething added the bug Something isn't working label Nov 1, 2024
@entropitor
Copy link
Contributor

Looks about right to me. You can always set LSP to debug/trace level to see if the request actually comes in. And check with LspInfo if the server is actually bound to your buffer. Maybe you are not actually registering the server?

@justinmk justinmk added question Further information is requested and removed bug Something isn't working labels Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants