Skip to content

Commit b3ff167

Browse files
committed
Correction to pattern flags
1 parent b98c1ea commit b3ff167

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
@@ -95,7 +95,7 @@ syntax match clojureRegexpOr "\v\<@!\|" contained
9595
syntax match clojureRegexpBackRef "\v\\%(\d+|k\<[a-zA-z]+\>)" contained
9696
" Mode modifiers, mode-modified spans, lookaround, regular and atomic
9797
" grouping, and named-capturing.
98-
syntax match clojureRegexpMod "\v\(@<=\?(-?[xdsmiu])*:?" contained
98+
syntax match clojureRegexpMod "\v\(@<=\?[xdsmiu]*%(-[xdsmiu]*)?:?" contained
9999
syntax match clojureRegexpMod "\v\(@<=\?[=!>]" contained
100100
syntax match clojureRegexpMod "\v\(@<=\?\<[a-zA-Z]+\>" contained
101101

0 commit comments

Comments
 (0)