Skip to content

Commit bf97884

Browse files
committed
Add :nos[wapfile] as modifier
1 parent 161cc46 commit bf97884

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

autoload/vimlparser.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,8 @@ function! s:VimLParser.parse_command_modifiers()
568568
call add(modifiers, {'name': 'leftabove'})
569569
elseif stridx('noautocmd', k) == 0 && len(k) >= 3 " noa\%[utocmd]
570570
call add(modifiers, {'name': 'noautocmd'})
571+
elseif stridx('noswapfile', k) == 0 && len(k) >= 3 " :nos\%[wapfile]
572+
call add(modifiers, {'name': 'noswapfile'})
571573
elseif stridx('rightbelow', k) == 0 && len(k) >= 6 "rightb\%[elow]
572574
call add(modifiers, {'name': 'rightbelow'})
573575
elseif stridx('sandbox', k) == 0 && len(k) >= 3 " san\%[dbox]

0 commit comments

Comments
 (0)