codekingpro/portable-devtools
114k
1" Vim filetype plugin file2" Language: mutt RC File3" Maintainer: This runtime file is looking for a new maintainer.4" Previous Maintainer: Nikolai Weibull <now@bitwi.se>5" Latest Revision: 2025-07-22 (use :hor term #17822)6 7if exists("b:did_ftplugin")8 finish9endif10let b:did_ftplugin = 111 12let s:cpo_save = &cpo13set cpo&vim14 15let b:undo_ftplugin = "setl com< cms< inc< fo<"16 17setlocal comments=:# commentstring=#\ %s18setlocal formatoptions-=t formatoptions+=croql19 20let &l:include = '^\s*source\>'21 22if has('unix') && executable('less') && exists(':terminal') == 223 command -buffer -nargs=1 MuttrcKeywordPrg24 \ silent exe 'hor term ' . 'env LESS= MANPAGER="less --pattern=''' . escape('^\s+' . <q-args> . '\b', '\') . ''' --hilite-search" man ' . 'muttrc'25 setlocal iskeyword+=-26 setlocal keywordprg=:MuttrcKeywordPrg27 let b:undo_ftplugin .= '| setlocal keywordprg< iskeyword< | sil! delc -buffer MuttrcKeywordPrg'28endif29 30let &cpo = s:cpo_save31unlet s:cpo_save32 