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