File tree Expand file tree Collapse file tree 3 files changed +14
-6
lines changed
Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2828 - FULL document sync for immediate file change detection
2929 - Parallel version fetching
3030
31+ ### Fixed
32+ - npm parser: Correct position finding for dependencies sharing version string (e.g., vitest)
33+
3134### Changed
3235- MSRV bumped to 1.89 for let-chains support
3336- Refactored handlers to use let-chains for cleaner code
37+ - Extracted deps-zed to [ separate repository] ( https://github.com/bug-ops/deps-zed ) as git submodule
3438
3539## [ 0.1.0] - 2024-12-22
3640
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ exclude = ["crates/deps-zed"]
44resolver = " 2"
55
66[workspace .package ]
7- version = " 0.1 .0"
7+ version = " 0.2 .0"
88edition = " 2024"
99rust-version = " 1.89"
1010authors = [" Andrei G" ]
@@ -15,10 +15,10 @@ repository = "https://github.com/bug-ops/deps-lsp"
1515async-trait = " 0.1"
1616criterion = " 0.8"
1717dashmap = " 6.1"
18- deps-core = { version = " 0.1 .0" , path = " crates/deps-core" }
19- deps-cargo = { version = " 0.1 .0" , path = " crates/deps-cargo" }
20- deps-npm = { version = " 0.1 .0" , path = " crates/deps-npm" }
21- deps-lsp = { version = " 0.1 .0" , path = " crates/deps-lsp" }
18+ deps-core = { version = " 0.2 .0" , path = " crates/deps-core" }
19+ deps-cargo = { version = " 0.2 .0" , path = " crates/deps-cargo" }
20+ deps-npm = { version = " 0.2 .0" , path = " crates/deps-npm" }
21+ deps-lsp = { version = " 0.2 .0" , path = " crates/deps-lsp" }
2222futures = " 0.3"
2323insta = " 1"
2424mockito = " 1"
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ Install the **Deps** extension from Zed Extensions marketplace.
6767``` lua
6868require (' lspconfig' ).deps_lsp .setup ({
6969 cmd = { " deps-lsp" , " --stdio" },
70- filetypes = { " toml" },
70+ filetypes = { " toml" , " json " },
7171})
7272```
7373
@@ -79,6 +79,10 @@ require('lspconfig').deps_lsp.setup({
7979name = " toml"
8080language-servers = [" deps-lsp" ]
8181
82+ [[language ]]
83+ name = " json"
84+ language-servers = [" deps-lsp" ]
85+
8286[language-server .deps-lsp ]
8387command = " deps-lsp"
8488args = [" --stdio" ]
You can’t perform that action at this time.
0 commit comments