-
Notifications
You must be signed in to change notification settings - Fork 407
weird behaviour about indent delim #2328
Copy link
Copy link
Closed
Labels
Description
Description
I don't sure about this behaviour is a bug or a feature:(
in vimtex, default configuration of VimtexIndentExpr() will indent the following code
\command{
a
}{
b
}the original behaviour is weird, it looks like VimtexIndentExpr() treat }{ as same as a b
Expected behaviour:
\command{
a
}{
b
}And behaviour:
\command{
a
}\command{
b
}Expected behaviour:
\command{
a
}\command{
b
}Steps to reproduce
No response
Expected behavior
No response
Actual behavior
No response
Do you use a latexmkrc file?
No
VimtexInfo
System info:
OS: Arch Linux
Vim version: NVIM v0.6.1
Has clientserver: true
Servername: /tmp/nvimDLQ3rR/0
VimTeX project: .tikz
base: .tikz
root: /home/wzy/.config/nvim/template
tex: /home/wzy/.config/nvim/template/.tikz
main parser: current file
document class: standalone
packages: hyperref
compiler: latexmk
engine: -lualatex
options:
-verbose
-synctex=1
-interaction=nonstopmode
-shell-escape
-8bit
callback: 1
continuous: 1
executable: latexmk
viewer: Zathura
xwin id: 0
qf method: LaTeX logfileReactions are currently unavailable