diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-12 20:48:57 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-12 20:48:57 +1300 |
commit | d4cbf3994178061dad4a4e2d345f8cf0466bec39 (patch) | |
tree | 67bfede247336b6601529627730e6049621653dc /vim/plugin/user_ftplugin.vim | |
parent | Merge branch 'release/v0.13.0' (diff) | |
parent | Regenerate dotfiles(7) manual from README.md (diff) | |
download | dotfiles-d4cbf3994178061dad4a4e2d345f8cf0466bec39.tar.gz dotfiles-d4cbf3994178061dad4a4e2d345f8cf0466bec39.zip |
Merge branch 'release/v0.14.0'v0.14.0
* release/v0.14.0:
Regenerate dotfiles(7) manual from README.md
Bump version number to 0.14.0
Mention Vim restructuring in README
Add guards for presence of b:undo_* var
Exclude SC1090 (failed source) shellcheck error
Move lots of local Vim config into vim/after
Add author/license boilerplate to all plugins
Diffstat (limited to 'vim/plugin/user_ftplugin.vim')
-rw-r--r-- | vim/plugin/user_ftplugin.vim | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/vim/plugin/user_ftplugin.vim b/vim/plugin/user_ftplugin.vim deleted file mode 100644 index d9739bda..00000000 --- a/vim/plugin/user_ftplugin.vim +++ /dev/null @@ -1,24 +0,0 @@ -" -" user_ftplugin.vim: When switching filetypes, look for a b:undo_user_ftplugin -" variable and use it in much the same way the core's ftplugin.vim does -" b:undo_ftplugin in Vim >= 7.0. This allows you to undo your own ftplugin -" files the same way you can the core ones. -" -if exists('g:loaded_user_ftplugin') - \ || !has('autocmd') - \ || &compatible - finish -endif -let g:loaded_user_ftplugin = 1 - -function! s:LoadUserFtplugin() - if exists('b:undo_user_ftplugin') - execute b:undo_user_ftplugin - unlet b:undo_user_ftplugin - endif -endfunction - -augroup user_ftplugin - autocmd! - autocmd FileType * call s:LoadUserFtplugin() -augroup END |