diff options
Diffstat (limited to 'vim/after/ftplugin/vim.vim')
-rw-r--r-- | vim/after/ftplugin/vim.vim | 4 |
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 |