-
Notifications
You must be signed in to change notification settings - Fork 407
TOC has weird behavior with paragraphs #2080
Copy link
Copy link
Closed
Description
Issue
In a document with paragraphs the TOC looks weird.
Minimal configuration:
set nocompatible
let &runtimepath = '~/.config/nvim/plugged/vimtex,' . &runtimepath
let &runtimepath .= ',~/.config/nvim/plugged/vimtex/after'
filetype plugin indent on
syntax enableMinimal document:
\documentclass{minimal}
\begin{document}
\section*{Sec}
\subsection*{Ssec}
\paragraph*{Par}
\section*{Sec2}
\subsection*{Ssec2}
\end{document}Commands/Input
Open the table of contents on the provided document.
Observed Behaviour
The TOC only shows Sec and Ssec when opening.
When typing + to increase the depth, Par, Sec2 and Ssec2 show up, but are greyed out.
When deleting the paragraph, everything behaves as i would expect.
Expected Behaviour
All sections and paragraphs visible on the start and not grayed out.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels