diff options
Diffstat (limited to 'support/texlab/crates/texlab/tests/lsp/text_document/snapshots/lsp__text_document__inlay_hint__label_definition.snap')
-rw-r--r-- | support/texlab/crates/texlab/tests/lsp/text_document/snapshots/lsp__text_document__inlay_hint__label_definition.snap | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/support/texlab/crates/texlab/tests/lsp/text_document/snapshots/lsp__text_document__inlay_hint__label_definition.snap b/support/texlab/crates/texlab/tests/lsp/text_document/snapshots/lsp__text_document__inlay_hint__label_definition.snap index b8568fd2fd..050ae5afd3 100644 --- a/support/texlab/crates/texlab/tests/lsp/text_document/snapshots/lsp__text_document__inlay_hint__label_definition.snap +++ b/support/texlab/crates/texlab/tests/lsp/text_document/snapshots/lsp__text_document__inlay_hint__label_definition.snap @@ -1,38 +1,38 @@ --- -source: tests/lsp/text_document/inlay_hint.rs +source: crates/texlab/tests/lsp/text_document/inlay_hint.rs expression: "find_hints(r#\"\n%! main.tex\n\\documentclass{article}\n\\usepackage{caption}\n\\begin{document}\n\\section{Foo}\\label{sec:foo}\n\\section{Bar}\\label{sec:bar}\n\\subsection{Baz}\\label{sec:baz}\n\\begin{figure}\n Test\n \\label{fig:qux}\n \\caption{Qux}\n\\end{figure}\n\\end{document}\n |\n\n%! main.aux\n\\relax \n\\providecommand*\\caption@xref[2]{\\@setref\\relax\\@undefined{#1}}\n\\newlabel{fig:qux}{{\\caption@xref {fig:qux}{ on input line 15}}{1}}\n\\@writefile{lof}{\\contentsline {figure}{\\numberline {1}{\\ignorespaces Qux\\relax }}{1}{}\\protected@file@percent }\n\\@writefile{toc}{\\contentsline {section}{\\numberline {1}Foo}{1}{}\\protected@file@percent }\n\\newlabel{sec:foo}{{1}{1}}\n\\@writefile{toc}{\\contentsline {section}{\\numberline {2}Bar}{1}{}\\protected@file@percent }\n\\newlabel{sec:bar}{{2}{1}}\n\\@writefile{toc}{\\contentsline {subsection}{\\numberline {2.1}Baz}{1}{}\\protected@file@percent }\n\\newlabel{sec:baz}{{2.1}{1}}\n\\gdef \\@abspage@last{1}\"#)" --- [ { "position": { "line": 3, - "character": 27 + "character": 28 }, - "label": "Section 1", + "label": " Section 1 ", "paddingLeft": true }, { "position": { "line": 4, - "character": 27 + "character": 28 }, - "label": "Section 2", + "label": " Section 2 ", "paddingLeft": true }, { "position": { "line": 5, - "character": 30 + "character": 31 }, - "label": "Subsection 2.1", + "label": " Subsection 2.1 ", "paddingLeft": true }, { "position": { "line": 8, - "character": 18 + "character": 19 }, - "label": "Figure fig:qux", + "label": " Figure fig:qux ", "paddingLeft": true } ] |