Skip to content

Wrong indent for \item when using Ultisnips #1245

@goduck777

Description

@goduck777

Vimtex can handle the indent of \item very will in most cases.

In Ultisnips (or other snippet plugins), there is a very convenient way to input \item. Like, I can just type it<tab> to get a \item. However, in this case vimtex gives the wrong indent. The tab before \item is not eliminated. The result is like

\item a
    \item b
        \item c

Is there a fix for this problem? or is there a better way for inputting \item?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions