-
Notifications
You must be signed in to change notification settings - Fork 395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autocomplete with \nameref{} & \pageref{} #2593
Labels
Comments
I can consider that. Could you first provide a small example on which I can test things? |
MWE\documentclass{article}
\usepackage{nameref}
\usepackage{hyperref}
\begin{document}
\section{Introduction}
\label{sec:intro}
We would like to propose that \texttt{vimtex} autotrigger for
\texttt{nameref} package and also for the \texttt{cleveref}.
\section{Methodology}
\label{sec:meth}
As we stated on section §\nameref{sec:intro} on page
\pageref{sec:intro} we want to propose that to cover all types of
crossreferences, \textbf{maybe for \emph{pageref}} too?
\end{document} |
lervag
added a commit
that referenced
this issue
Dec 2, 2022
I believe this should work as expected now, please test. Notice, though: VimTeX does not do autocompletion. It only provides an omnicomplete function. However, VimTeX should work well with most common autocomplete plugins (see |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
According to documentation, autocomplete labels is triggered by
\ref
command. It would be nice to have the same trigger fornameref
package also forcleverref
.Thanks!
The text was updated successfully, but these errors were encountered: