vim

Fork of vim, an acceptable text editor
git clone git://git.laack.co/vim.git
Log | Files | Refs | README | LICENSE

expect.vim (596B)


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