aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-30 22:26:21 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-30 22:26:21 +1200
commit684230644c56880e793d017ba7bb32b088fe5ebc (patch)
tree04ba21c2fde24b9678b89ebd44a8c44b5ef1fd07 /vim/after/ftplugin
parentMove execution mappings into relevant filetypes (diff)
downloaddotfiles-684230644c56880e793d017ba7bb32b088fe5ebc.tar.gz
dotfiles-684230644c56880e793d017ba7bb32b088fe5ebc.zip
Adjust code layout of long strong assignment
Diffstat (limited to 'vim/after/ftplugin')
-rw-r--r--vim/after/ftplugin/vim.vim11
1 files changed, 5 insertions, 6 deletions
diff --git a/vim/after/ftplugin/vim.vim b/vim/after/ftplugin/vim.vim
index 0b877178..30182bba 100644
--- a/vim/after/ftplugin/vim.vim
+++ b/vim/after/ftplugin/vim.vim
@@ -26,12 +26,11 @@ let &l:path = &runtimepath . ',' . &path
" matches e.g. an opening "function" with the first "return" within, which I
" don't like
if exists('loaded_matchit')
- let b:match_words =
- \ '\<fu\%[nction]\>:\<endf\%[unction]\>,' .
- \ '\<\(wh\%[ile]\|for\)\>:\<end\(w\%[hile]\|fo\%[r]\)\>,' .
- \ '\<if\>:\<el\%[seif]\>:\<en\%[dif]\>,' .
- \ '\<try\>:\<cat\%[ch]\>:\<fina\%[lly]\>:\<endt\%[ry]\>,' .
- \ '\<aug\%[roup]\s\+\%(END\>\)\@!\S:\<aug\%[roup]\s\+END\>,'
+ let b:match_words = '\<fu\%[nction]\>:\<endf\%[unction]\>,'
+ \ . '\<\(wh\%[ile]\|for\)\>:\<end\(w\%[hile]\|fo\%[r]\)\>,'
+ \ . '\<if\>:\<el\%[seif]\>:\<en\%[dif]\>,'
+ \ . '\<try\>:\<cat\%[ch]\>:\<fina\%[lly]\>:\<endt\%[ry]\>,'
+ \ . '\<aug\%[roup]\s\+\%(END\>\)\@!\S:\<aug\%[roup]\s\+END\>,'
endif
" Stop here if the user doesn't want ftplugin mappings