groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug#1019257: vim: syntax highlight: roff, man: man highlighting coul


From: Nate Bargmann
Subject: Re: Bug#1019257: vim: syntax highlight: roff, man: man highlighting could be improved with some roff rules
Date: Tue, 6 Sep 2022 13:12:02 -0500

I don't know if the following is useful for the bug report so I am
simply replying here as I found the described behavior annoying as well.

At the time I grabbed the most recent version of nroff.vim syntax file I
could fine which I see is dated 2021 Mar 28.  I placed it in
$HOME/.vim/syntax/nroff.vim

I see it checks for two variables both of which I enabled in my
$HOME/.vim/vimrc:

" Force extended highlighting for groff files.
let b:nroff_is_groff = 1

" Display nroff space errors
let nroff_space_errors = 1

I do edit some locally generated roff and MM files along with the
occasional man file.  The result is generally pleasing and consistent to
me.

- Nate

-- 
"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."
Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]