mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 20:08:17 +00:00

- set options in ftplugin but not in syntax
- implement ftplugin/groff.vim (wrapper of ftplugin/nroff.vim)
closes: vim/vim#17174
e36a931d9b
Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
16 lines
306 B
VimL
16 lines
306 B
VimL
" Vim syntax file
|
|
" Language: groff(7)
|
|
" Maintainer: Eisuke Kawashima ( e.kawaschima+vim AT gmail.com )
|
|
" Last Change: 2025 Apr 24
|
|
|
|
if exists('b:did_ftplugin')
|
|
finish
|
|
endif
|
|
|
|
let b:nroff_is_groff = 1
|
|
|
|
runtime! ftplugin/nroff.vim
|
|
|
|
let b:undo_ftplugin .= '| unlet! b:nroff_is_groff'
|
|
let b:did_ftplugin = 1
|