Compatibility with tree-sitter
Opened this issue · 2 comments
Hey friends,
The indentation system is built on the syntax highlighting to know how to interpret things like \{. If I use nvim-treesitter (which relies on this grammar) and disable nvim's syntax highlighting, indentation is completely broken.
I don't want to lose the nice indentation provided by this plugin (as there is no indentation information for Clojure in nvim-treesitter), but enabling both vimscript syntax highlighting and treesitter highlighting is bad and slow.
Any suggestions on how to handle this?
Hi, I don't think it'll help much but you could try adding this line to your config:
autocmd! FileType clojure let b:clojure_syntax_without_core_keywords = 1Otherwise you will have to wait for #31 to be finished, the changes in that PR include the decoupling of indentation from syntax highlighting.
Oh excellent, I forgot about that issue. I'll keep track of it! Thanks.