Skip to content

Commit 33ed73e

Browse files
committed
Add $ to iskeyword. Closes #1
According to http://clojure.org/reader $ is implicitly reserved for future reader use, however it is useful to have $ in iskeyword for now since it is used in the compiled notation for Java inner$classes. Clojure core itself uses this notation freely, so this seems like a stable grey area with useful implications for vim commands like K.
1 parent 765a00c commit 33ed73e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

syntax/clojure.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ elseif exists("b:current_syntax")
1414
finish
1515
endif
1616

17-
setlocal iskeyword+=?,-,*,!,+,/,=,<,>,.,:
17+
setlocal iskeyword+=?,-,*,!,+,/,=,<,>,.,:,$
1818

1919
" Highlight superfluous closing parens, brackets and braces.
2020
syn match clojureError "]\|}\|)"

0 commit comments

Comments
 (0)