Mercurial > vim
comparison runtime/ftplugin/vim.vim @ 19181:94eda51ba9ba v8.2.0149
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Commit: https://github.com/vim/vim/commit/8a7d6542b33e5d2b352262305c3bfdb2d14e1cf8
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 26 15:56:19 2020 +0100
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Problem: Maintaining a Vim9 branch separately is more work.
Solution: Merge the Vim9 script changes.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 26 Jan 2020 16:00:05 +0100 |
parents | b178e2039b2d |
children | 74e3316c1d5a |
comparison
equal
deleted
inserted
replaced
19180:8edf0aeb71b9 | 19181:94eda51ba9ba |
---|---|
82 " Let the matchit plugin know what items can be matched. | 82 " Let the matchit plugin know what items can be matched. |
83 if exists("loaded_matchit") | 83 if exists("loaded_matchit") |
84 let b:match_ignorecase = 0 | 84 let b:match_ignorecase = 0 |
85 let b:match_words = | 85 let b:match_words = |
86 \ '\<fu\%[nction]\>:\<retu\%[rn]\>:\<endf\%[unction]\>,' . | 86 \ '\<fu\%[nction]\>:\<retu\%[rn]\>:\<endf\%[unction]\>,' . |
87 \ '\<def\>:\<retu\%[rn]\>:\<enddef\>,' . | |
87 \ '\<\(wh\%[ile]\|for\)\>:\<brea\%[k]\>:\<con\%[tinue]\>:\<end\(w\%[hile]\|fo\%[r]\)\>,' . | 88 \ '\<\(wh\%[ile]\|for\)\>:\<brea\%[k]\>:\<con\%[tinue]\>:\<end\(w\%[hile]\|fo\%[r]\)\>,' . |
88 \ '\<if\>:\<el\%[seif]\>:\<en\%[dif]\>,' . | 89 \ '\<if\>:\<el\%[seif]\>:\<en\%[dif]\>,' . |
90 \ '{:},' . | |
89 \ '\<try\>:\<cat\%[ch]\>:\<fina\%[lly]\>:\<endt\%[ry]\>,' . | 91 \ '\<try\>:\<cat\%[ch]\>:\<fina\%[lly]\>:\<endt\%[ry]\>,' . |
90 \ '\<aug\%[roup]\s\+\%(END\>\)\@!\S:\<aug\%[roup]\s\+END\>,' | 92 \ '\<aug\%[roup]\s\+\%(END\>\)\@!\S:\<aug\%[roup]\s\+END\>,' |
91 " Ignore syntax region commands and settings, any 'en*' would clobber | 93 " Ignore syntax region commands and settings, any 'en*' would clobber |
92 " if-endif. | 94 " if-endif. |
93 " - set spl=de,en | 95 " - set spl=de,en |