Date: Thu, 8 Apr 2021 13:36:49 +0000 From: Glen Barber <gjb@freebsd.org> To: freebsd-doc@freebsd.org Subject: Vim ASCIIDoctor syntax highlighting Message-ID: <20210408133649.GC92026@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
--f3uHgXesLFB1/u0Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --f3uHgXesLFB1/u0Z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAmBvBvEACgkQAxRYpUeP 4pNvEg/+PUbiFND6qI4/VdgmZmkbYvR+UrFgkRAkd7NmhI6hogqcVawe3y6NcsZ5 2MwfFRbLa4jtC1LR4gp1RkdllfcWQPuxU0f9pbPEoqwNnPunqsewGxmPmBU/bq6w o4qUpe7TL/rlMGg5u6KgRt+DXSyFWyMCiR9MQ04KIqOufZk7bp/wcbGB4pYpZTBg MRk5n258fdFytlZeAhywbsYaaIsIMFe14RZwcX7HOnepYmKXVfb26qEx/kyWqmz2 qergx61/Kfav28NCtsRDx7Scdz6zMWMphMFtjR5a4I2m6NSER634tH8X0g0YmeBy XIQa2WiAF1dctzUBJMS2Wfhverc2P2dwAC8+fSdOjz0FSzWBdVUkMewEDzG8y00q hr4c4Rdh+yW74wkR7BEHiHF75BTe9znqLw+l4f4xG+/ypSYMTfoxmRrkMKQRiKOA DJbYAyk0fuv2ydchLtdi9wDZU6vLLK7/eQAtu/EyWjcQ34+9xmPQKe+PHwck0irr 5m3PpEZMepsTN5fE6sCYP4i/3XDLvqj1Z9PI1yVO50FTbaqjkwb3j7xIG2aOpg85 AKcOh4JhBgmg5TpBTN1Czhu4BX8phXcX12u5UHDbEJe6ybTRn2dyxCjRu9KPc6tm 5yTA3grkJtRBOa16ct9j22/mrxiBroFixaVMRYGXJToc13jBDl4= =eOqe -----END PGP SIGNATURE----- --f3uHgXesLFB1/u0Z--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210408133649.GC92026>