(comment) is highlighted incorrectly

Create issue
Issue #87 resolved
Dave Ray created an issue

Hi. If I have a buffer with this text: {{{ (comment (+ 1 1)) }}}

the inner form isn't highlighted correctly. The first closing paren isn't colored the same as its partner. Furthermore, paren matching highlighting doesn't work correctly. vim thinks the first closing paren matches both opening parens.

The main problem though is that this behavior seems to break paredit.vim from slimv. I've been able to work around it by commenting out this line [1]. It turns off (comment) highlighting, but also makes paredit usable.

I fiddled around with the region a bit, but didn't make any progress.



[1] https://bitbucket.org/kotarak/vimclojure/src/c7b7bf494e7b/vim/syntax/clojure.vim#cl-237

Comments (1)

  1. Log in to comment