fpcmake.vim 592 B

1234567891011121314151617181920212223242526
  1. " Vim filetype plugin file
  2. " Language: Free Pascal Makefile Generator
  3. " Maintainer: Doug Kearns <dougkearns@gmail.com>
  4. " Last Change: 2021 Apr 23
  5. if exists("b:did_ftplugin")
  6. finish
  7. endif
  8. let s:cpo_save = &cpo
  9. set cpo&vim
  10. runtime! ftplugin/make.vim
  11. if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")
  12. let b:browsefilter = "Free Pascal Makefile Definition Files (*.fpc)\t*.fpc\n" ..
  13. \ "All Files (*.*)\t*.*\n"
  14. endif
  15. let b:undo_ftplugin = b:undo_ftplugin .. " | unlet! b:browsefilter"
  16. let &cpo = s:cpo_save
  17. unlet s:cpo_save
  18. " vim: nowrap sw=2 sts=2 ts=8 noet: