Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
tcl.vim44 linesDownload Raw Back to ftplugin
1" Vim filetype plugin file2" Language:         Tcl3" Maintainer:       Robert L Hicks <sigzero@gmail.com>4" Latest Revision:  2009-05-015"                   2024 Jan 14 by Vim Project (browsefilter)6"                   2024 May 23 by Riley Bruins <ribru17@gmail.com> ('commentstring')7 8if exists("b:did_ftplugin")9  finish10endif11let b:did_ftplugin = 112 13" Make sure the continuation lines below do not cause problems in14" compatibility mode.15let s:cpo_save = &cpo16set cpo-=C17 18setlocal comments=:#19setlocal commentstring=#\ %s20setlocal formatoptions+=croql21 22" Change the browse dialog on Windows to show mainly Tcl-related files23if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")24    let b:browsefilter = "Tcl Source Files (*.tcl)\t*.tcl\n" .25                \ "Tcl Test Files (*.test)\t*.test\n"26    if has("win32")27        let b:browsefilter .= "All Files (*.*)\t*\n"28    else29        let b:browsefilter .= "All Files (*)\t*\n"30    endif31endif32 33"-----------------------------------------------------------------------------34 35" Undo the stuff we changed.36let b:undo_ftplugin = "setlocal fo< com< cms< inc< inex< def< isf< kp<" .37	    \	      " | unlet! b:browsefilter"38 39" Restore the saved compatibility options.40let &cpo = s:cpo_save41unlet s:cpo_save42 43" vim: set et ts=4 sw=4 tw=78:44 
codekingpro/portable-devtools · Team Ai