Eisuke Kawashima | e36a931 | 2025-04-24 22:26:02 +0200 | [diff] [blame] | 1 | " Vim syntax file |
| 2 | " Language: groff(7) |
| 3 | " Maintainer: Eisuke Kawashima ( e.kawaschima+vim AT gmail.com ) |
| 4 | " Last Change: 2025 Apr 24 |
jtmr05 | e4c157b | 2025-06-18 18:41:14 +0200 | [diff] [blame] | 5 | " 2025 Jun 18 by Vim Project: update commentstring option (#17516) |
Eisuke Kawashima | e36a931 | 2025-04-24 22:26:02 +0200 | [diff] [blame] | 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 | |
jtmr05 | e4c157b | 2025-06-18 18:41:14 +0200 | [diff] [blame] | 15 | setlocal commentstring=\\#\ %s |
| 16 | setlocal comments=:\\#,:.\\\",:\\\",:'\\\",:''' |
| 17 | |
Eisuke Kawashima | e36a931 | 2025-04-24 22:26:02 +0200 | [diff] [blame] | 18 | let b:undo_ftplugin .= '| unlet! b:nroff_is_groff' |
| 19 | let b:did_ftplugin = 1 |