aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/vim.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-12-30 01:21:40 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-12-30 01:21:40 +1300
commite103c90d1eecafc2b46c26e52d669a0593a16a97 (patch)
treec0d3a2777aded45cd76a36895a91fe0ea1ce56ed /vim/after/ftplugin/vim.vim
parentMerge branch 'release/v4.1.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-e103c90d1eecafc2b46c26e52d669a0593a16a97.tar.gz
dotfiles-e103c90d1eecafc2b46c26e52d669a0593a16a97.zip
Merge branch 'release/v4.2.0'v4.2.0
* release/v4.2.0: Bump VERSION Update vertical_region.vim to v1.0.0 Update regex_escape.vim to v1.0.2 Update replace_operator.vim to v1.0.2 Update regex_escape.vim plugin to 0.1.1 Choose regex character classes for some filetypes Add regex_escape.vim plugin Update quickfix_auto_open.vim plugin to v0.2.0
Diffstat (limited to 'vim/after/ftplugin/vim.vim')
-rw-r--r--vim/after/ftplugin/vim.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/after/ftplugin/vim.vim b/vim/after/ftplugin/vim.vim
index a7a69993..905d21dc 100644
--- a/vim/after/ftplugin/vim.vim
+++ b/vim/after/ftplugin/vim.vim
@@ -5,6 +5,10 @@ if bufname('%') !=# 'command-line'
\ . '|setlocal errorformat< makeprg<'
endif
+" Specify Vim pattern flavor for regex_escape.vim
+let b:regex_escape_flavor = 'vim'
+let b:undo_ftplugin .= '|unlet b:regex_escape_flavor'
+
" Stop here if the user doesn't want ftplugin mappings
if exists('g:no_plugin_maps') || exists('g:no_vim_maps')
finish