-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
neovim: Fenced syntax highlighting isn't working #14
Comments
I couldn't figure out how to do dynamic injections based on comments, this is what I have so far, but it doesn't work ((comment) @language
(indented_string_expression (string_fragment) @content) ; this is just a string
(#offset! @language 0 2 0 -2)
(#trim! @language)) |
My config doesn't seem to function with the existing injections either, so I'm not really sure what's up with it. I assume it's something on my end though Thanks for your WIP dynamic injections though! Once I get the other injections working on my config I'll have to experiment |
if |
Ah, turns out that I was overriding the wrong package, and |
I opened nvim-treesitter/nvim-treesitter#3902 to implement this, adding a directive is the only way I was able to get it working |
Partly due to using tree-sitter instead of patched
vim-nix
.It looks like it might just be a matter of updating
nvim-treesitter
since nvim-treesitter/nvim-treesitter#3842 was mergedThe text was updated successfully, but these errors were encountered: