summaryrefslogtreecommitdiff
path: root/test/lsp
diff options
context:
space:
mode:
Diffstat (limited to 'test/lsp')
-rw-r--r--test/lsp/go/main.go1
-rw-r--r--test/lsp/rust/.gitignore1
-rw-r--r--test/lsp/rust/Cargo.lock7
-rw-r--r--test/lsp/rust/Cargo.toml8
-rw-r--r--test/lsp/rust/src/main.rs3
5 files changed, 20 insertions, 0 deletions
diff --git a/test/lsp/go/main.go b/test/lsp/go/main.go
index d60bcd1..1cf4073 100644
--- a/test/lsp/go/main.go
+++ b/test/lsp/go/main.go
@@ -7,6 +7,7 @@ type X struct {
y int
}
+/// https://example.com
func main() {
_, err := fmt.Println("hello world");
if err != nil {
diff --git a/test/lsp/rust/.gitignore b/test/lsp/rust/.gitignore
new file mode 100644
index 0000000..eb5a316
--- /dev/null
+++ b/test/lsp/rust/.gitignore
@@ -0,0 +1 @@
+target
diff --git a/test/lsp/rust/Cargo.lock b/test/lsp/rust/Cargo.lock
new file mode 100644
index 0000000..b21cc6a
--- /dev/null
+++ b/test/lsp/rust/Cargo.lock
@@ -0,0 +1,7 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+version = 3
+
+[[package]]
+name = "rust"
+version = "0.1.0"
diff --git a/test/lsp/rust/Cargo.toml b/test/lsp/rust/Cargo.toml
new file mode 100644
index 0000000..1ec6963
--- /dev/null
+++ b/test/lsp/rust/Cargo.toml
@@ -0,0 +1,8 @@
+[package]
+name = "rust"
+version = "0.1.0"
+edition = "2021"
+
+# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+
+[dependencies]
diff --git a/test/lsp/rust/src/main.rs b/test/lsp/rust/src/main.rs
new file mode 100644
index 0000000..e7a11a9
--- /dev/null
+++ b/test/lsp/rust/src/main.rs
@@ -0,0 +1,3 @@
+fn main() {
+ println!("Hello, world!");
+}