diff options
Diffstat (limited to 'support/texlab/tests/integration/snapshots/integration__completion__latex__user_environment.snap')
-rw-r--r-- | support/texlab/tests/integration/snapshots/integration__completion__latex__user_environment.snap | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/support/texlab/tests/integration/snapshots/integration__completion__latex__user_environment.snap b/support/texlab/tests/integration/snapshots/integration__completion__latex__user_environment.snap new file mode 100644 index 0000000000..0f85b3fa56 --- /dev/null +++ b/support/texlab/tests/integration/snapshots/integration__completion__latex__user_environment.snap @@ -0,0 +1,50 @@ +--- +source: tests/integration/completion.rs +expression: "complete_and_resolve(&server, uri, 4, 7)?" + +--- +{ + "isIncomplete": false, + "items": [ + { + "label": "foo", + "kind": 1, + "detail": "user-defined", + "preselect": false, + "sortText": "00", + "textEdit": { + "range": { + "start": { + "line": 4, + "character": 7 + }, + "end": { + "line": 4, + "character": 9 + } + }, + "newText": "foo" + } + }, + { + "label": "filecontents", + "kind": 1, + "detail": "built-in", + "preselect": false, + "sortText": "01", + "textEdit": { + "range": { + "start": { + "line": 4, + "character": 7 + }, + "end": { + "line": 4, + "character": 9 + } + }, + "newText": "filecontents" + } + } + ] +} |