You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm sorry if this isn't something that VimTex does, but I can't think of any other plugin that may be doing this. Whenever I write \ref{fig:blahblah} I immediately get the caption added after it as a kind of ghost text. It's just there to be seen, but won't appear in the document. Just like below.
This is being quite buggy for me, and I'd like to disable it. I've tried disabling concealing, but it remains there, and I can't find anything in the docs to help me.
Steps to reproduce
% Minimal latex document% Run \documentclass{article}
% Package for figures\usepackage{graphicx}
\begin{document}
\begin{figure}
\centering\includegraphics[width=\linewidth]{missing.png}
\caption{Some figure here}
\label{fig:figure}
\end{figure}
Here we refer to the figure \ref{fig:figure}. %Here you get the text "Figure 1: Some figure here" in a lighter colour.\end{document}
I'm sorry if this isn't something that VimTex does, but I can't think of any other plugin that may be doing this. Whenever I write \ref{fig:blahblah} I immediately get the caption added after it as a kind of ghost text. It's just there to be seen, but won't appear in the document. Just like below.
I'm pretty sure, but not entirely, this is something caused by texlab. So I'm also quite sure you are using texlab as an LSP. But it's hard to know, because I don't know anything about your config...
Steps to reproduce
Your "steps to reproduce" do not contain a minimal init.lua file. An example of such a file is this:
-- NOTE: Use the correct path to VimTeX in the following two lines!vim.opt.runtimepath:prepend"~/.local/plugged/vimtex"vim.opt.runtimepath:append"~/.local/plugged/vimtex/after"vim.cmd[[filetype plugin indent on]]vim.g.vimtex_cache_root="."vim.g.vimtex_cache_persistent=false
Description
I'm sorry if this isn't something that VimTex does, but I can't think of any other plugin that may be doing this. Whenever I write \ref{fig:blahblah} I immediately get the caption added after it as a kind of ghost text. It's just there to be seen, but won't appear in the document. Just like below.
This is being quite buggy for me, and I'd like to disable it. I've tried disabling concealing, but it remains there, and I can't find anything in the docs to help me.
Steps to reproduce
Expected behavior
No response
Actual behavior
No response
Do you use a latexmkrc file?
No
VimtexInfo
The text was updated successfully, but these errors were encountered: