m3build.vim 633 B

12345678910111213141516171819202122232425262728
  1. " Vim filetype plugin file
  2. " Language: Modula-3 Makefile
  3. " Maintainer: Doug Kearns <dougkearns@gmail.com>
  4. " Last Change: 2024 Jan 14
  5. if exists("b:did_ftplugin")
  6. finish
  7. endif
  8. let s:cpo_save = &cpo
  9. set cpo&vim
  10. runtime! ftplugin/m3quake.vim
  11. if (has("gui_win32") || has("gui_gtk")) && exists("b:m3quake_set_browsefilter")
  12. let b:browsefilter = "Modula-3 Makefile (m3makefile, m3overrides)\tm3makefile;m3overrides\n"
  13. if has("win32")
  14. let b:browsefilter ..= "All Files (*.*)\t*\n"
  15. else
  16. let b:browsefilter ..= "All Files (*)\t*\n"
  17. endif
  18. endif
  19. let &cpo = s:cpo_save
  20. unlet s:cpo_save
  21. " vim: nowrap sw=2 sts=2 ts=8 noet: