xolox / vim-lua-ftplugin

Lua file type plug-in for the Vim text editor
http://peterodding.com/code/vim/lua-ftplugin
187 stars 27 forks source link

I don't want to replace default matchit function #31

Closed mrvon closed 6 years ago

mrvon commented 10 years ago

When I use this plugin, It will auto replace default matchit function b:match_words with xolox#lua#matchit(), But I like default style. Why not add a option.

if exists('loaded_matchit') let b:match_ignorecase = 0 let b:match_words = 'xolox#lua#matchit()' call add(s:undo_ftplugin, 'unlet! b:match_ignorecase b:match_words b:match_skip') endif