clojure-vim / clojure.vim

Clojure syntax highlighting for Vim and Neovim.
Other
34 stars 6 forks source link

Syntax highlight more symbols and make grouping more consistent #18

Closed axvr closed 2 years ago

axvr commented 3 years ago

Syntax highlight missing symbols and improve consistency of syntax groups.

To do


Current changes

(Note: items suffixed with (new) were never syntax highlighted by Clojure.vim or Vim-clojure-static.)

clojureCond

+ if
+ if*    (new)
+ case*  (new)

clojureSpecial

+ &
+ reify*  (new)
- if
+ letfn*  (new)
+ clojure.core/import*  (new)
- recur
- loop
+ let*    (new)
+ fn*     (new)
+ letfn
- def

clojureRepeat

+ loop*   (new)
+ loop
+ recur

clojureMacro

- letfn

clojureDefine

+ deftype*  (new)
+ def
SevereOverfl0w commented 3 years ago

https://github.com/clojure-emacs/orchard/blob/master/src/orchard/meta.clj some code here might be useful for what you're doing (based on a quick peek at the PR). Maybe you've covered all the relevant cases already though!