mirror of
https://github.com/neovim/neovim.git
synced 2026-08-29 02:21:51 +00:00
vim-patch:e36a931: runtime(groff,nroff): improve ftplugin
- 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>
This commit is contained in:
committed by
Christian Clason
parent
9e450000d3
commit
1fed4412e4
15
runtime/ftplugin/groff.vim
Normal file
15
runtime/ftplugin/groff.vim
Normal file
@@ -0,0 +1,15 @@
|
||||
" 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
|
||||
Reference in New Issue
Block a user