Infer completions old ranges based on the syntax tree

This commit is contained in:
Max Brunsfeld 2022-04-25 13:14:05 -07:00
parent 8ddc7e6458
commit 45922603f8
4 changed files with 148 additions and 30 deletions

View file

@ -15,6 +15,7 @@ test-support = [
"lsp/test-support",
"text/test-support",
"tree-sitter-rust",
"tree-sitter-typescript",
"util/test-support",
]
@ -45,7 +46,8 @@ similar = "1.3"
smallvec = { version = "1.6", features = ["union"] }
smol = "1.2"
tree-sitter = "0.20"
tree-sitter-rust = { version = "0.20.0", optional = true }
tree-sitter-rust = { version = "*", optional = true }
tree-sitter-typescript = { version = "*", optional = true }
[dev-dependencies]
client = { path = "../client", features = ["test-support"] }