robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
4558fc02de
master
1" Vim filetype plugin file 2" Language: sudoers(5) configuration files 3" 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" ) 8finish 9endif 10let b: did_ftplugin = 1 11 12let s: cpo_save = & cpo 13set cpo & vim 14 15let b: undo_ftplugin = "setl com< cms< fo<" 16 17setlocal comments = :#commentstring = #\ %sformatoptions -= tformatoptions += croql 18 19if has ( 'unix' ) && executable ( 'less' ) && exists ( ':terminal' ) == 2 20command -buffer -nargs = 1 SudoersKeywordPrg 21 \silent exe ':hor term ' . 'env LESS= MANPAGER="less --pattern=''' . escape('\b' . <q-args> . '\b', '\') . ''' --hilite-search" man ' . 'sudoers' 22setlocal keywordprg = :SudoersKeywordPrg 23let b: undo_ftplugin .= '| setlocal keywordprg< | sil! delc -buffer SudoersKeywordPrg' 24endif 25 26let & cpo = s: cpo_save 27unlet s: cpo_save