-
Notifications
You must be signed in to change notification settings - Fork 33
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
Incompatibility with tree-sitter #31
Comments
+1 on this. A note for others finding this, you can also set |
Another workaround is to disable the insert mapping using |
My workaround: highlight = {
enable = true,
disable = { 'clojure' },
}, Using Disabling highlighting suits me fine, since TS-based highlighting doesn't highlight keywords for some reason. Another way I test for this issue, is to add a string like
|
Another consequence of the broken string handling: The paren inside the string in |
See nvim-treesitter/nvim-treesitter#2966 for some additional context. |
Hey there! Love the plugin, it makes working in Clojure a breeze.
I've run into a small problem where if I use nvim-treesitter and leave
additional_vim_regex_highlighting = false
(meaning all syntax highlighting is provided by TS), then the"
insert maps don't work correctly anymore, as s:syntax_match can't find any highlighting under the cursor.Would it be feasible to add some awareness of TS and use that when appropriate?
I know than a solution is to set
additional_vim_regex_highlighting = true
, but it's not ideal because the two highlights clash and don't look great together.The text was updated successfully, but these errors were encountered: