File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2763,7 +2763,7 @@ parse_command_modifiers(
27632763 }
27642764#ifdef FEAT_EVAL
27652765 // Avoid that "filter(arg)" is recognized.
2766- if (in_vim9script () && !VIM_ISWHITE (* p ))
2766+ if (in_vim9script () && !VIM_ISWHITE (p [ -1 ] ))
27672767 break ;
27682768#endif
27692769 if (skip_only )
Original file line number Diff line number Diff line change @@ -312,6 +312,18 @@ def Test_filter_is_not_modifier()
312312 assert_equal ([#{x : 3 , y : 4 }], tags )
313313enddef
314314
315+ def Test_filter_is_recognized ()
316+ var lines = << trim END
317+ final expected = " \n Type Name Content\n c \" c piyo"
318+ @a = ' hoge'
319+ @b = ' fuga'
320+ @c = ' piyo'
321+
322+ assert_equal (execute (' filter /piyo/ registers abc' ), expected)
323+ END
324+ CheckDefAndScriptSuccess (lines )
325+ enddef
326+
315327def Test_eval_command ()
316328 var from = 3
317329 var to = 5
Original file line number Diff line number Diff line change @@ -750,6 +750,8 @@ static char *(features[]) =
750750
751751static int included_patches [] =
752752{ /* Add new patch number below this line */
753+ /**/
754+ 1923 ,
753755/**/
754756 1922 ,
755757/**/
You can’t perform that action at this time.
0 commit comments