Skip to content

Commit

Permalink
fix: don't set deprecated allFeatures setting by default (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
zjp-CN authored Jun 15, 2024
1 parent 00a9508 commit 66b888c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lua/rustaceanvim/config/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ function server.load_rust_analyzer_settings(project_root, opts)
then
---@diagnostic disable-next-line: inject-field
default_settings['rust-analyzer'].check = {
allFeatures = true,
command = 'clippy',
extraArgs = { '--no-deps' },
}
Expand Down
1 change: 0 additions & 1 deletion spec/56_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ describe('#56-non-regression: server.settings is table', function()
server = {
settings = {
['rust-analyzer'] = {
cargo = { allFeatures = true },
checkOnSave = true,
check = {
enable = true,
Expand Down

0 comments on commit 66b888c

Please sign in to comment.