vimrc

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules

commit c33f382588a3ec4bb24078b8e1801c039150a8ae
parent 26e0e0d4068ef9545d6080018bd04439bec7ec13
Author: Pablo Cárdenas <pablo.cardenas@imca.edu.pe>
Date:   Fri, 17 Feb 2023 09:08:46 -0500

Updated ftplugin/tex.vim

Diffstat:
Mftplugin/tex.vim | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/ftplugin/tex.vim b/ftplugin/tex.vim @@ -5,4 +5,10 @@ setlocal conceallevel=2 highlight! link Conceal texCmd highlight ExtraWhitespace ctermbg=1 -match ExtraWhitespace /\(\S.*\)\@<=\s\s/ +match ExtraWhitespace /\(\(\\(\)\@<=\s\+\|\s\+\(\\)\)\@=\|\(\S.*\)\@<=\s\s\+\([^ &\\]\)\@=\)/ + +set foldmethod=expr +set foldexpr=vimtex#fold#level(v:lnum) +set foldtext=vimtex#fold#text() + +compiler tex