Is anyone seeing Vim mis-indent Clojure inside a really long function? Looks like after 200 lines it gives up and you start back at column zero.
not seen that yet
although, my functions are rarely more than 20 lines long, max.
I wouldn't like to face a 200 line long function 🙂
It is a feature
https://github.com/guns/vim-clojure-static#gclojure_maxlines
😲
The fork (https://github.com/clojure-vim/clojure.vim) has performance patches applied so indent might work comfortably with longer forms
Long deftest form could be more common than long defn
It's actually let g:clojure_maxlines = 1000
that fixes it. The default is 100
ooh
a fork!
I had forgotten to merge the performance branch, been just running it myself, but merged to master now.
will give it a shot, thank you 🙂
https://github.com/clojure-vim/clojure.vim/issues/6 shows quite nice improvement on indent speed, from just syntax rule changes
Nice 🙂 I finally got a VimR snapshot release with NeoVim 0.5 but I hadn't gotten around to faff with treesitter and stuff, I'll use the fork for Clojure for now.