Skip to content

Commit

Permalink
update rust-analyzer to 2024-06-24 (#130)
Browse files Browse the repository at this point in the history
* update rust-analyzer to 2024-06-24

* add new settings

* remove unnecessary escape

* contributes.configuration is now an array

* Revert "contributes.configuration is now an array"

This reverts commit a38df1c.

---------

Co-authored-by: rchl <[email protected]>
Co-authored-by: Предраг Николић <[email protected]>
  • Loading branch information
3 people authored Jun 24, 2024
1 parent 6796273 commit e3edbfd
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
4 changes: 4 additions & 0 deletions LSP-rust-analyzer.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
// Placeholder expression to use for missing expressions in assists.
// possible values: todo, default
"rust-analyzer.assist.expressionFillDefault": "todo",
// Term search fuel in "units of work" for assists (Defaults to 400).
"rust-analyzer.assist.termSearch.fuel": 400,
// Warm up caches on project load.
"rust-analyzer.cachePriming.enable": true,
// How many worker threads to handle priming caches. The default `0` means to pick automatically.
Expand Down Expand Up @@ -232,6 +234,8 @@
},
// Whether to enable term search based snippets like `Some(foo.bar().baz())`.
"rust-analyzer.completion.termSearch.enable": false,
// Term search fuel in "units of work" for autocompletion (Defaults to 200).
"rust-analyzer.completion.termSearch.fuel": 200,
// List of rust-analyzer diagnostics to disable.
"rust-analyzer.diagnostics.disabled": [],
// Whether to show native rust-analyzer diagnostics.
Expand Down
2 changes: 1 addition & 1 deletion plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

SESSION_NAME = "rust-analyzer"

TAG = "2024-04-29"
TAG = "2024-06-24"
"""
Update this single git tag to download a newer version.
After changing this tag, go through the server settings again to see
Expand Down
12 changes: 12 additions & 0 deletions sublime-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@
"markdownDescription": "Placeholder expression to use for missing expressions in assists.",
"type": "string"
},
"rust-analyzer.assist.termSearch.fuel": {
"markdownDescription": "Term search fuel in \"units of work\" for assists (Defaults to 400).",
"default": 400,
"type": "integer",
"minimum": 0
},
"rust-analyzer.cachePriming.enable": {
"default": true,
"markdownDescription": "Warm up caches on project load.",
Expand Down Expand Up @@ -485,6 +491,12 @@
"default": false,
"type": "boolean"
},
"rust-analyzer.completion.termSearch.fuel": {
"markdownDescription": "Term search fuel in \"units of work\" for autocompletion (Defaults to 200).",
"default": 200,
"type": "integer",
"minimum": 0
},
"rust-analyzer.diagnostics.disabled": {
"default": [],
"items": {
Expand Down

0 comments on commit e3edbfd

Please sign in to comment.