diff options
Diffstat (limited to 'support/texlab/tests/lsp/text_document/snapshots/lsp__text_document__completion__citation.snap')
-rw-r--r-- | support/texlab/tests/lsp/text_document/snapshots/lsp__text_document__completion__citation.snap | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/support/texlab/tests/lsp/text_document/snapshots/lsp__text_document__completion__citation.snap b/support/texlab/tests/lsp/text_document/snapshots/lsp__text_document__completion__citation.snap new file mode 100644 index 0000000000..b8755fdef0 --- /dev/null +++ b/support/texlab/tests/lsp/text_document/snapshots/lsp__text_document__completion__citation.snap @@ -0,0 +1,16 @@ +--- +source: tests/lsp/text_document/completion.rs +expression: "complete(r#\"\n%! main.tex\n\\documentclass{article}\n\\bibliography{main}\n\\begin{document}\n\\cite{\n |\n\\end{document}\n\n%! main.bib\n@article{foo:2019,\n author = {Foo Bar},\n title = {Baz Qux},\n year = {2019},\n}\n\n@article{bar:2005,}\"#)" +--- +[ + { + "label": "bar:2005", + "preselect": false, + "filterText": "bar:2005 @article bar:2005" + }, + { + "label": "foo:2019", + "preselect": false, + "filterText": "foo:2019 @article foo:2019 author Foo Bar title Baz Qux year 2019" + } +] |