-
Notifications
You must be signed in to change notification settings - Fork 407
inner environment text-object fails on { being the first char after \begin{} #2160
Copy link
Copy link
Closed
Labels
Description
Description
No way to visually select or delete inner environment with vie, die for the code block of the json source.
Steps to reproduce
vim -u minimal.vim minimal.tex- position cursor on
"contacts" vie
minimal.tex
\documentclass{minimal}
\begin{document}
\begin{minted}
{
"contacts": [
{
"source_id": "mandatory"
}
]
}
\end{minted}
\end{document}
Expected behavior
Contents of the minted environment is visually selected:

Actual behavior
A single char is selected at the end of the environment:

Do you use a latexmkrc file?
No
VimtexInfo
System info
OS: Microsoft Windows 10 Pro (10.0.19041 N/A Build 19041)
Vim version: VIM 8.2 (1-3399)
Has clientserver: true
Servername: GVIM
VimTeX project: minimal
base: minimal.tex
root: C:\Users\maksim.kim
tex: C:\Users\maksim.kim\minimal.tex
main parser: current file
document class:
compiler: latexmk
engine: -lualatex
options:
-shell-escape
-verbose
-file-line-error
-synctex=1
-interaction=nonstopmode
build_dir: minimal
callback: 1
continuous: 1
executable: latexmk
viewer: General
qf method: LaTeX logfileReactions are currently unavailable