Does anyone have any good recommendations for articles on using NeoVim for editing LaTeX? Any essential tips or tricks? What has been working well for you?
I use vimtex for compiling and TexLab LSP for completion, linting, and formatting. (TexLab supports linting using chktex and formatting using latexindent.) There are some other plugins like texmagic.nvim for compiling, but I am too lazy to switch from vimtex. vimtex also has some other useful features like more concealing items and better syntax highlighting. vim-surround is also really helpful when inserting an environment.
Thank you for the feedback. I had not heard of chktex and latexindent, and I am checking them out now. Better indenting would be particularly helpful, so I appreciate it.
To set up my Vim editing environment for LaTeX, I found myself cobbling together bits from several different sites, which I have consolidated into a reference post here:
LaTeX Flow: Editing LaTeX in NeoVim
Is it missing your favorite trick? Is it technically inaccurate, misguided or just plain wrong?
Let me know, I would appreciate your help.