expect.vim 503 B

12345678910111213141516171819202122232425
  1. " Vim filetype plugin file
  2. " Language: Expect
  3. " Maintainer: Doug Kearns <dougkearns@gmail.com>
  4. " Last Change: 2022 Jul 16
  5. if exists("b:did_ftplugin")
  6. finish
  7. endif
  8. " Syntax is similar to Tcl
  9. runtime! ftplugin/tcl.vim
  10. let s:cpo_save = &cpo
  11. set cpo&vim
  12. if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")
  13. let b:browsefilter = "Expect Command Files (*.exp)\t*.exp\n" ..
  14. \ "All Files (*.*)\t*.*\n"
  15. endif
  16. let &cpo = s:cpo_save
  17. unlet s:cpo_save
  18. " vim: nowrap sw=2 sts=2 ts=8