Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
aap.vim39 linesDownload Raw Back to ftplugin
1" Vim filetype plugin file2" Language:	Aap recipe3" Maintainer:	The Vim Project <https://github.com/vim/vim>4" Last Change:	2024 Jan 145" Former Maintainer:	Bram Moolenaar <Bram@vim.org>6 7" Only do this when not done yet for this buffer8if exists("b:did_ftplugin")9  finish10endif11 12" Don't load another plugin for this buffer13let b:did_ftplugin = 114 15" Reset 'formatoptions', 'comments', 'commentstring' and 'expandtab' to undo16" this plugin.17let b:undo_ftplugin = "setl fo< com< cms< et<"18 19" Set 'formatoptions' to break comment lines but not other lines,20" and insert the comment leader when hitting <CR> or using "o".21setlocal fo-=t fo+=croql22 23" Set 'comments' to format dashed lists in comments.24setlocal comments=s:#\ -,m:#\ \ ,e:#,n:#,fb:-25setlocal commentstring=#\ %s26 27" Expand tabs to spaces to avoid trouble.28setlocal expandtab29 30if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")31  let b:browsefilter = "Aap Recipe Files (*.aap)\t*.aap\n"32  if has("win32")33    let b:browsefilter ..= "All Files (*.*)\t*\n"34  else35    let b:browsefilter ..= "All Files (*)\t*\n"36  endif37  let b:undo_ftplugin ..= " | unlet! b:browsefilter"38endif39 
codekingpro/portable-devtools · Team Ai