summaryrefslogtreecommitdiffstats
path: root/ftplugin/ruby.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-03-29 20:30:36 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2019-03-29 20:30:36 +0100
commita55b6aa3aa797c989a4979a13a5bd2ae11cfd4a5 (patch)
tree0ec7670cabfdf1b5fa3545cee9ee9d6ca7c8ad32 /ftplugin/ruby.vim
parent1d45a6d4f094127b113470d7710695b280224933 (diff)
downloadvim-polyglot-a55b6aa3aa797c989a4979a13a5bd2ae11cfd4a5.tar.gz
vim-polyglot-a55b6aa3aa797c989a4979a13a5bd2ae11cfd4a5.zip
Remove grapqhl, fixes #387v3.7.1
Diffstat (limited to 'ftplugin/ruby.vim')
-rw-r--r--ftplugin/ruby.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/ftplugin/ruby.vim b/ftplugin/ruby.vim
index 316a7296..cc97760a 100644
--- a/ftplugin/ruby.vim
+++ b/ftplugin/ruby.vim
@@ -27,13 +27,13 @@ if exists("loaded_matchit") && !exists("b:match_words")
let b:match_ignorecase = 0
let b:match_words =
- \ '\<\%(if\|unless\|case\|while\|until\|for\|do\|class\|module\|def\|=\@<!begin\)\>=\@!' .
+ \ '{\|\<\%(if\|unless\|case\|while\|until\|for\|do\|class\|module\|def\|=\@<!begin\)\>=\@!' .
\ ':' .
\ '\<\%(else\|elsif\|ensure\|when\|rescue\|break\|redo\|next\|retry\)\>' .
\ ':' .
- \ '\%(^\|[^.\:@$=]\)\@<=\<end\:\@!\>' .
+ \ '}\|\%(^\|[^.\:@$=]\)\@<=\<end\:\@!\>' .
\ ',^=begin\>:^=end\>,' .
- \ ',{:},\[:\],(:)'
+ \ ',\[:\],(:)'
let b:match_skip =
\ "synIDattr(synID(line('.'),col('.'),0),'name') =~ '" .