Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
nroff.vim52 linesDownload Raw Back to ftplugin
1" Vim filetype plugin2" Language:	roff(7)3" Maintainer:	Aman Verma4" Homepage:	https://github.com/a-vrma/vim-nroff-ftplugin5" Document:	https://www.gnu.org/software/groff/manual/groff.html6" Previous Maintainer: Chris Spiegel <cspiegel@gmail.com>7" Last Changes:8"	2024 May 24 by Riley Bruins <ribru17@gmail.com> ('commentstring' #14843)9"	2025 Feb 12 by Wu, Zhenyu <wuzhenyu@ustc.edu> (matchit configuration #16619)10"	2025 Apr 16 by Eisuke Kawashima (cpoptions #17121)11"	2025 Apr 24 by Eisuke Kawashima (move options from syntax to ftplugin #17174)12"	2025 Jun 18 by Vim Project: update commentstring option (#17516)13 14if exists("b:did_ftplugin")15  finish16endif17let b:did_ftplugin = 118 19let s:cpo_save = &cpo20set cpo&vim21 22setlocal commentstring=.\\\"\ %s23setlocal comments=:.\\\",:\\\",:'\\\",:'''24setlocal sections+=Sh25setlocal define=.\s*de26 27if get(b:, 'preprocs_as_sections')28  setlocal sections=EQTSPS[\ G1GS29endif30 31let b:undo_ftplugin = 'setlocal commentstring< comments< sections& define<'32 33if get(b:, 'nroff_is_groff')34  " groff_ms exdented paragraphs are not in the default paragraphs list.35  setlocal paragraphs+=XP36  let b:undo_ftplugin .= ' paragraphs&'37endif38 39if exists('loaded_matchit')40  let b:match_words = '^\.\s*ie\>:^\.\s*el\>'41        \ . ',^\.\s*LB\>:^\.\s*LI\>:^\.\s*LE\>'42        \ . ',^\.\s*TS\>:^\.\s*TE\>'43        \ . ',^\.\s*PS\>:^\.\s*P[EF]\>'44        \ . ',^\.\s*EQ\>:^\.\s*EN\>'45        \ . ',^\.\s*[\>:^\.\s*]\>'46        \ . ',^\.\s*FS\>:^\.\s*FE\>'47  let b:undo_ftplugin .= "| unlet b:match_words"48endif49 50let &cpo = s:cpo_save51unlet s:cpo_save52 
codekingpro/portable-devtools · Team Ai