Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve b:match_words pattern (#1288)
This PR makes editing tabstops in snippets easier esp. with the plugin, [vim-matchup](https://github.com/andymass/vim-matchup), which is a replacement of classic [matchit](http://ftp.vim.org/pub/vim/runtime/macros/matchit.txt). ## Example ```snippets ${1:fo|o} # "|" is cursor position. ``` then, `ci%`, ```snippets ${1:|} ``` Or, ```snippets `!p snip.rv = b|ar` ``` then, `ci%`, ```snippets `!p |` ``` ## Note It seems undesirable to add `snip.rv` to `b:match_words` as a middle pattern of `!p`-interpolation because it often disturbs to `ci%` to edit an interpolation, or even to `da%` to delete/move a whole interpolation, i.e., no middle pattern is included in `b:match_words` on this PR.
- Loading branch information