Skip to content

Commit c0392f3

Browse files
committed
Also skip matchit matches that are regexes
1 parent 622c0a8 commit c0392f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ftplugin/ruby.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ if exists("loaded_matchit") && !exists("b:match_words")
3434
let b:match_skip =
3535
\ "synIDattr(synID(line('.'),col('.'),0),'name') =~ '" .
3636
\ "\\<ruby\\%(String\\|StringDelimiter\\|ASCIICode\\|Escape\\|" .
37+
\ "Regexp\\|RegexpDelimiter\\|" .
3738
\ "Interpolation\\|NoInterpolation\\|Comment\\|Documentation\\|" .
3839
\ "ConditionalModifier\\|RepeatModifier\\|OptionalDo\\|" .
3940
\ "Function\\|BlockArgument\\|KeywordAsMethod\\|ClassVariable\\|" .

0 commit comments

Comments
 (0)