Skip to content

Commit 4d05e76

Browse files
committed
Add %, &, and | to iskeyword
These are valid symbol characters.
1 parent 7a2abd5 commit 4d05e76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ftplugin/clojure.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ set cpo&vim
1717

1818
let b:undo_ftplugin = 'setlocal iskeyword< define< formatoptions< comments< commentstring< lispwords<'
1919

20-
setlocal iskeyword+=?,-,*,!,+,/,=,<,>,.,:,$
20+
setlocal iskeyword+=?,-,*,!,+,/,=,<,>,.,:,$,%,&,\|
2121

2222
" There will be false positives, but this is better than missing the whole set
2323
" of user-defined def* definitions.

0 commit comments

Comments
 (0)