File tree Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,14 @@ All notable changes to this project will be documented in this file.
66The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
77and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
88
9+ ## [ 5.2.0] - 2024-08-05
10+
11+ ### Added
12+
13+ - Load rust-analyzer settings from ` .vscode/settings.json ` by default.
14+ Can be disabled by setting ` vim.g.rustaceanvim.server.load_vscode_settings ` .
15+ This was introduced as an experimental feature in version 4.14.0.
16+
917## [ 5.1.5] - 2024-08-05
1018
1119### Fixed
Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ rustaceanvim.lsp.ClientOpts *rustaceanvim.lsp.ClientOpts*
299299 {load_vscode_settings?} (boolean)
300300 Whether to search (upward from the buffer) for rust-analyzer settings in .vscode/settings json.
301301 If found, loaded settings will override configured options.
302- Default: false
302+ Default: true
303303
304304 See: ~
305305 | vim.lsp.ClientConfig |
Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ vim.g.rustaceanvim = vim.g.rustaceanvim
189189---
190190--- Whether to search (upward from the buffer) for rust-analyzer settings in .vscode/settings json.
191191--- If found, loaded settings will override configured options.
192- --- Default: false
192+ --- Default: true
193193--- @field load_vscode_settings ? boolean
194194--- @see vim.lsp.ClientConfig
195195
Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ local RustaceanDefaultConfig = {
290290 [' rust-analyzer' ] = {},
291291 },
292292 --- @type boolean Whether to search (upward from the buffer ) for rust-analyzer settings in .vscode /settings json.
293- load_vscode_settings = false ,
293+ load_vscode_settings = true ,
294294 },
295295
296296 --- debugging stuff
You can’t perform that action at this time.
0 commit comments