diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-05-02 12:55:08 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-05-02 13:00:38 -0400 |
commit | ad6bb386be30ee50ef2e61268597241e0ddb842b (patch) | |
tree | 6bc888f270342b06d58339a53db36cda63e2d093 /runtime/ftplugin/fpcmake.vim | |
parent | d19ede86eabfde8416beabf3b2f636d2771ab1cf (diff) | |
download | rneovim-ad6bb386be30ee50ef2e61268597241e0ddb842b.tar.gz rneovim-ad6bb386be30ee50ef2e61268597241e0ddb842b.tar.bz2 rneovim-ad6bb386be30ee50ef2e61268597241e0ddb842b.zip |
vim-patch:4c295027a426
Update runtime files
https://github.com/vim/vim/commit/4c295027a426986566cd7a76c47a6d3a529727e7
Diffstat (limited to 'runtime/ftplugin/fpcmake.vim')
-rw-r--r-- | runtime/ftplugin/fpcmake.vim | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/runtime/ftplugin/fpcmake.vim b/runtime/ftplugin/fpcmake.vim new file mode 100644 index 0000000000..8d950838c7 --- /dev/null +++ b/runtime/ftplugin/fpcmake.vim @@ -0,0 +1,25 @@ +" Vim filetype plugin file +" Language: Free Pascal Makefile Generator +" Maintainer: Doug Kearns <dougkearns@gmail.com> +" Last Change: 2021 Apr 23 + +if exists("b:did_ftplugin") + finish +endif + +let s:cpo_save = &cpo +set cpo&vim + +runtime! ftplugin/make.vim + +if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") + let b:browsefilter = "Free Pascal Makefile Definition Files (*.fpc)\t*.fpc\n" .. + \ "All Files (*.*)\t*.*\n" +endif + +let b:undo_ftplugin = b:undo_ftplugin .. " | unlet! b:browsefilter" + +let &cpo = s:cpo_save +unlet s:cpo_save + +" vim: nowrap sw=2 sts=2 ts=8 noet: |