summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
authorastrale-sharp <ash4567@outlook.fr>2024-01-09 10:05:57 +0100
committerGitHub <noreply@github.com>2024-01-09 09:05:57 +0000
commitc20b6ec6e157b753e90aa60ccd5b50f6f31cb7f6 (patch)
tree350ca5d05c68deafbdcaa0ad6cc1f649b8ee7a51 /tests/typ
parentcc1f974164ab5d42c3eb1b8fcd7a9227fbfd1d0e (diff)
Test autocomplete (#2912)
Co-authored-by: oliver <151407407+kwfn@users.noreply.github.com> Co-authored-by: Laurenz <laurmaedje@gmail.com>
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/autocomplete/showcase.typ13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/typ/autocomplete/showcase.typ b/tests/typ/autocomplete/showcase.typ
new file mode 100644
index 00000000..8ea94f2e
--- /dev/null
+++ b/tests/typ/autocomplete/showcase.typ
@@ -0,0 +1,13 @@
+// Autocomplete: true
+// Ref: false
+
+---
+// Autocomplete contains: -1 "int", "if conditional"
+// Autocomplete excludes: -1 "foo"
+#i
+
+---
+
+// Autocomplete contains: -1 "insert", "remove", "len", "all"
+// Autocomplete excludes: -1 "foobar", "foo",
+#().