File tree Expand file tree Collapse file tree 5 files changed +17
-0
lines changed Expand file tree Collapse file tree 5 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -568,6 +568,8 @@ function! s:VimLParser.parse_command_modifiers()
568
568
call add (modifiers, {' name' : ' leftabove' })
569
569
elseif stridx (' noautocmd' , k ) == 0 && len (k ) >= 3 " noa\%[utocmd]
570
570
call add (modifiers, {' name' : ' noautocmd' })
571
+ elseif stridx (' noswapfile' , k ) == 0 && len (k ) >= 3 " :nos\%[wapfile]
572
+ call add (modifiers, {' name' : ' noswapfile' })
571
573
elseif stridx (' rightbelow' , k ) == 0 && len (k ) >= 6 " rightb\%[elow]
572
574
call add (modifiers, {' name' : ' rightbelow' })
573
575
elseif stridx (' sandbox' , k ) == 0 && len (k ) >= 3 " san\%[dbox]
Original file line number Diff line number Diff line change @@ -769,6 +769,10 @@ VimLParser.prototype.parse_command_modifiers = function() {
769
769
// noa\%[utocmd]
770
770
viml_add ( modifiers , { "name" :"noautocmd" } ) ;
771
771
}
772
+ else if ( viml_stridx ( "noswapfile" , k ) == 0 && viml_len ( k ) >= 3 ) {
773
+ // :nos\%[wapfile]
774
+ viml_add ( modifiers , { "name" :"noswapfile" } ) ;
775
+ }
772
776
else if ( viml_stridx ( "rightbelow" , k ) == 0 && viml_len ( k ) >= 6 ) {
773
777
//rightb\%[elow]
774
778
viml_add ( modifiers , { "name" :"rightbelow" } ) ;
Original file line number Diff line number Diff line change @@ -662,6 +662,9 @@ def parse_command_modifiers(self):
662
662
elif viml_stridx ("noautocmd" , k ) == 0 and viml_len (k ) >= 3 :
663
663
# noa\%[utocmd]
664
664
viml_add (modifiers , AttributeDict ({"name" :"noautocmd" }))
665
+ elif viml_stridx ("noswapfile" , k ) == 0 and viml_len (k ) >= 3 :
666
+ # :nos\%[wapfile]
667
+ viml_add (modifiers , AttributeDict ({"name" :"noswapfile" }))
665
668
elif viml_stridx ("rightbelow" , k ) == 0 and viml_len (k ) >= 6 :
666
669
#rightb\%[elow]
667
670
viml_add (modifiers , AttributeDict ({"name" :"rightbelow" }))
Original file line number Diff line number Diff line change
1
+ (call (Func))
2
+ (call (Func))
Original file line number Diff line number Diff line change
1
+ aboveleft belowright botright browse confirm hide keepalt keepjumps
2
+ \ keepmarks keeppatterns lockmarks noswapfile silent tab
3
+ \ topleft verbose vertical call Func ()
4
+ abo bel bo bro conf hid keepalt keepj
5
+ \ kee keepp loc nos sil tab
6
+ \ to verb vert call Func ()
You can’t perform that action at this time.
0 commit comments