Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ab5004c

Browse files
authored
Allow "percent" character in keywords (#16)
1 parent fa110a4 commit ab5004c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎syntax/clojure.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ delfunction s:syntax_keyword
6868
" * Must not end in a : or /
6969
" * Must not have two adjacent colons except at the beginning
7070
" * Must not contain any reader metacharacters except for ' and #
71-
syntax match clojureKeyword "\v<:{1,2}%([^ \n\r\t()\[\]{}";@^`~\\%/]+/)*[^ \n\r\t()\[\]{}";@^`~\\%/]+:@1<!>"
71+
syntax match clojureKeyword "\v<:{1,2}([^ \n\r\t()\[\]{}";@^`~\\/]+/)*[^ \n\r\t()\[\]{}";@^`~\\/]+:@1<!>"
7272

7373
syntax match clojureStringEscape "\v\\%([\\btnfr"]|u\x{4}|[0-3]\o{2}|\o{1,2})" contained
7474

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /