neovim/runtime/ftplugin/groff.vim
Christian Clason f038213617 vim-patch:e4c157b: runtime(nroff,groff): update commentstyle in filetype plugins
closes: vim/vim#17516

e4c157b9c1

Co-authored-by: jtmr05 <62111562+jtmr05@users.noreply.github.com>
2025-06-19 11:10:26 +02:00

20 lines
453 B
VimL

" Vim syntax file
" Language: groff(7)
" Maintainer: Eisuke Kawashima ( e.kawaschima+vim AT gmail.com )
" Last Change: 2025 Apr 24
" 2025 Jun 18 by Vim Project: update commentstring option (#17516)
if exists('b:did_ftplugin')
finish
endif
let b:nroff_is_groff = 1
runtime! ftplugin/nroff.vim
setlocal commentstring=\\#\ %s
setlocal comments=:\\#,:.\\\",:\\\",:'\\\",:'''
let b:undo_ftplugin .= '| unlet! b:nroff_is_groff'
let b:did_ftplugin = 1