Skip to content

Use treesitter for syntax checking when running in nvim. - #10

Open
micampe wants to merge 1 commit into
jaawerth:mainfrom
micampe:nvim-support
Open

Use treesitter for syntax checking when running in nvim.#10
micampe wants to merge 1 commit into
jaawerth:mainfrom
micampe:nvim-support

Conversation

@micampe

@micampe micampe commented Mar 26, 2025

Copy link
Copy Markdown

When treesitter is enabled in nvim the default syntax rules are not applied, so the synID checks always fail. This adds a check for the treesitter syntax captures.

Fixes #8

When treesitter is enabled in nvim the default syntax rules are not
applied, so the synID checks always fail. This adds a check for the
treesitter syntax captures.

Fixes jaawerth#8.
@NoahTheDuke

Copy link
Copy Markdown

I've been using this branch for a while and it works great.

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.

neovim: Indentation is incompatible with tree-sitter highlighting

2 participants