neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

groff.vim (453B)


      1 " Vim syntax file
      2 " Language:  groff(7)
      3 " Maintainer: Eisuke Kawashima ( e.kawaschima+vim AT gmail.com )
      4 " Last Change: 2025 Apr 24
      5 " 2025 Jun 18 by Vim Project: update commentstring option (#17516)
      6 
      7 if exists('b:did_ftplugin')
      8  finish
      9 endif
     10 
     11 let b:nroff_is_groff = 1
     12 
     13 runtime! ftplugin/nroff.vim
     14 
     15 setlocal commentstring=\\#\ %s
     16 setlocal comments=:\\#,:.\\\",:\\\",:'\\\",:'''
     17 
     18 let b:undo_ftplugin .= '| unlet! b:nroff_is_groff'
     19 let b:did_ftplugin = 1