Permalink
Browse files

Fix misparse introduced in ee5bad9

  • Loading branch information...
1 parent 11fa8e3 commit 6463c5836d1dc4d131297ecf581edb9193d07188 @ciaranm ciaranm committed Nov 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin/securemodelines.vim
@@ -92,7 +92,7 @@ fun! <SID>CheckVersion(op, ver) abort
endfun
fun! <SID>DoModeline(line) abort
- let l:matches = matchlist(a:line, '\%(\S\@<!\%(vi\|vim\([<>=]\?\)\([0-9]\+\)\?\)\|\sex\):\s*\(set\s\+\)\?\([^:]\+\):\S\@!')
+ let l:matches = matchlist(a:line, '\%(\S\@<!\%(vi\|vim\([<>=]\?\)\([0-9]\+\)\?\)\|\sex\):\s*\%(set\s\+\)\?\([^:]\+\):\S\@!')
if len(l:matches) > 0
let l:operator = ">"
if len(l:matches[1]) > 0

0 comments on commit 6463c58

Please sign in to comment.