Skip to content

Conversation

ribru17
Copy link
Member

@ribru17 ribru17 commented Sep 5, 2025

Problem: The built-in query linter will cause duplicate diagnostics when running the query LSP. It is also slower and blocking, and can cause jarring editor freezes for short times.

Solution: Disable it when using ts_query_ls. Also, set the omnifunc to the LSP omnifunc rather than the custom query one.

**Problem:** The built-in query linter will cause duplicate diagnostics
when running the query LSP. It is also slower and blocking, and can
cause jarring editor freezes for short times.

**Solution:** Disable it when using `ts_query_ls`. Also, set the
omnifunc to the LSP omnifunc rather than the custom `query` one.
@justinmk justinmk merged commit 260d579 into neovim:master Sep 6, 2025
6 checks passed
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.

2 participants