summaryrefslogtreecommitdiff
path: root/test/lsp/js/main.js
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-07 12:42:34 -0500
committerpommicket <pommicket@gmail.com>2023-01-07 12:42:34 -0500
commite2aad67eedd07cff24a51faf31b8c6984a23d777 (patch)
treec0fe2e10f1a797e66ccbbe92eb9e1b6527847997 /test/lsp/js/main.js
parent3a5d0834854b88d6139b96e93c84f9156fb63b33 (diff)
fix texlab go-to-definition
actually its their fault for ignoring the lack of capability
Diffstat (limited to 'test/lsp/js/main.js')
-rw-r--r--test/lsp/js/main.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/lsp/js/main.js b/test/lsp/js/main.js
new file mode 100644
index 0000000..ccf94ed
--- /dev/null
+++ b/test/lsp/js/main.js
@@ -0,0 +1,13 @@
+/** this is my favorit funciton */
+function funciton() {
+ var xYz = 123;
+ xYz += 555;
+ console.log(xYz);
+}
+
+function main() {
+ funciton();
+}
+
+main();
+funciton();