Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix misparse introduced in ee5bad9

  • Loading branch information...
commit 6463c5836d1dc4d131297ecf581edb9193d07188 1 parent 11fa8e3
@ciaranm ciaranm authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  plugin/securemodelines.vim
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.