Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Apr 2021 16:49:07 +0200
From:      Sergio Carlavilla <carlavilla@freebsd.org>
To:        Glen Barber <gjb@freebsd.org>
Cc:        "freebsd-doc@FreeBSD.org" <freebsd-doc@freebsd.org>
Subject:   Re: Vim ASCIIDoctor syntax highlighting
Message-ID:  <CAFwocyOLm311ofYAriAZaxm-3uqprU_ZW2YBcdR5Lz3MLAq9zQ@mail.gmail.com>
In-Reply-To: <20210408133649.GC92026@FreeBSD.org>
References:  <20210408133649.GC92026@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 8 Apr 2021 at 15:36, Glen Barber <gjb@freebsd.org> wrote:
>
> Hi,
>
> Since the conversion from XML to ASCIIDoctor, I have not made any major
> changes to our documentation outside of release-related items.  One
> thing I noticed in the few "larger" changes I have made is that the
> default Vim ASCIIDoctor (*.adoc) syntax highlighter seems to be very
> aggressive to the point of slowing down any input/editing, which has
> become severely frustrating at this point.
>
> My ~/.vimrc entry for *.adoc files is rather uninteresting:
>
> -------------------------- begin quoted text ---------------------------
> setlocal number
> setlocal syntax=asciidoc
> setlocal filetype=asciidoc
> setlocal shiftwidth=2
> setlocal textwidth=0
> setlocal noautoindent
> setlocal nosmartindent
> setlocal fileencoding=utf-8
> --------------------------- end quoted text ----------------------------
>
> Does anyone have any advice on any tuning I could do to my .vimrc, or an
> alternative ASCIIDoctor syntax highlighter that does not make me want to
> kill baby rabbits?
>
> Thanks in advance.
>
> Glen
>

Hi,

Give me some time to find a solution. I know right now it's difficult
to edit the files, sorry.

And please, *please*, don't punish these little baby rabbits :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFwocyOLm311ofYAriAZaxm-3uqprU_ZW2YBcdR5Lz3MLAq9zQ>