Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
dtd.vim49 linesDownload Raw Back to ftplugin
1" Vim filetype plugin file2" Language:		dtd3"4" This runtime file is looking for a new maintainer.5"6" Former maintainer:	Dan Sharp7" Last Change:		2009 Jan 208"			2024 Jan 14 by Vim Project (browsefilter)9"			2024 May 23 by Riley Bruins <ribru17@gmail.com> ('commentstring')10 11if exists("b:did_ftplugin") | finish | endif12let b:did_ftplugin = 113 14" Make sure the continuation lines below do not cause problems in15" compatibility mode.16let s:save_cpo = &cpo17set cpo-=C18 19setlocal commentstring=<!--\ %s\ -->20setlocal comments=s:<!--,m:\ \ \ \ \ ,e:-->21 22setlocal formatoptions-=t23if !exists("g:ft_dtd_autocomment") || (g:ft_dtd_autocomment == 1)24    setlocal formatoptions+=croql25endif26 27if exists("loaded_matchit")28    let b:match_words = '<!--:-->,<!:>'29endif30 31" Change the :browse e filter to primarily show Java-related files.32if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")33    let  b:browsefilter="DTD Files (*.dtd)\t*.dtd\n" .34		\	"XML Files (*.xml)\t*.xml\n"35    if has("win32")36	let b:browsefilter .= "All Files (*.*)\t*\n"37    else38	let b:browsefilter .= "All Files (*)\t*\n"39    endif40endif41 42" Undo the stuff we changed.43let b:undo_ftplugin = "setlocal commentstring< comments< formatoptions<" .44		\     " | unlet! b:matchwords b:browsefilter"45 46" Restore the saved compatibility options.47let &cpo = s:save_cpo48unlet s:save_cpo49 
codekingpro/portable-devtools · Team Ai