This repository has been archived on 2024-03-04. You can view files and clone it, but cannot push or open issues or pull requests.
linux/.config/nvim/lua/plugin/lsp/Rust.lua

17 lines
243 B
Lua
Raw Normal View History

local lspconfig = require("lspconfig")
2023-08-08 16:24:15 +03:00
lspconfig.rust_analyzer.setup {
2023-12-05 22:06:39 +03:00
settings = {
["rust-analyzer"] = {
rustfmt = {
2024-02-06 15:25:18 +03:00
extraArgs = {
"--config",
"hard_tabs=true",
}
2023-12-05 22:06:39 +03:00
}
},
},
2023-08-08 16:24:15 +03:00
}
vim.g.rust_recommended_style = false