You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have had the following line in my .vimrc for years let g:vimtex_indent_delims = {'include_modified_math': 0, 'close_indented': 0, 'open': [], 'close': []}
in order to deactivate delimiters indentation in LaTeX. It has broken recently.
Now, whenever a closed brace '}' is typed in a .tex file, vim (but the same is true with neovim) gets frozen, and nothing can be typed anymore.
If the above line is commented out in the .vimrc file (or, simply, the 'open' and 'close' entries are removed), everything runs smoothly, but braces induce indentation in LaTeX files.
Steps to reproduce
Add the following line at the end of minimal.vim let g:vimtex_indent_delims = {'include_modified_math': 0, 'close_indented': 0, 'open': [], 'close': []}
Run nvim -u minimal.vim minimal.tex
Type 'A}' in normal mode
Expected behavior
A closing brace ‘}' appears at the end of the current line.
Description
I have had the following line in my .vimrc for years
let g:vimtex_indent_delims = {'include_modified_math': 0, 'close_indented': 0, 'open': [], 'close': []}
in order to deactivate delimiters indentation in LaTeX. It has broken recently.
Now, whenever a closed brace '}' is typed in a .tex file, vim (but the same is true with neovim) gets frozen, and nothing can be typed anymore.
If the above line is commented out in the .vimrc file (or, simply, the 'open' and 'close' entries are removed), everything runs smoothly, but braces induce indentation in LaTeX files.
Steps to reproduce
let g:vimtex_indent_delims = {'include_modified_math': 0, 'close_indented': 0, 'open': [], 'close': []}
nvim -u minimal.vim minimal.tex
Expected behavior
A closing brace ‘}' appears at the end of the current line.
Actual behavior
Neovim (but the same is true with vim) is frozen.
Do you use a latexmkrc file?
Yes
VimtexInfo
The text was updated successfully, but these errors were encountered: