Commits

Meikel Brandmeyer committed 8312a6b

Added #_ and #! reader macros to syntax highlighting (Fixes #5)

  • Participants
  • Parent commits 8be28dc

Comments (0)

Files changed (1)

syntax/clojure.vim

 " Vim syntax file
-" Language:	   Clojure
+" Language:    Clojure
 " Maintainer:  Toralf Wittner <toralf.wittner@gmail.com>
 "              modified by Meikel Brandmeyer <mb@kotka.de>
 " URL:         http://kotka.de/projects/clojure/vimclojure.html
 
 syn region  clojureCommentSexp                          start="("                                       end=")" transparent contained contains=clojureCommentSexp
 syn region  clojureComment     matchgroup=clojureParen0 start="(comment"rs=s+1 matchgroup=clojureParen0 end=")"                       contains=clojureCommentSexp
+syn region  clojureComment                              start="#!" end="\n"
+syn match   clojureComment "#_"
 
 syn sync match matchPlace grouphere NONE "^[^ \t]"