Skip to content

Commit

Permalink
Took care of rust
Browse files Browse the repository at this point in the history
  • Loading branch information
atropos112 committed Nov 3, 2024
1 parent a85ad07 commit 8bcbfd1
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
5 changes: 5 additions & 0 deletions lua/atro/config/defaults.lua
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,16 @@ return {
},
},
rust = {
dap_package = "codelldb",
test_adapter = {
author = "rouge8",
name = "neotest-rust",
},
formatters = { "rustfmt" },
-- INFO: rustaceanvim plugin takes care of this
-- lsps = {
-- rust_analyzer = {},
-- },
},
bash = {
linters = { "shellcheck" },
Expand Down
4 changes: 4 additions & 0 deletions lua/atro/plugins/lang_specific/rust.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ if GCONF.languages["rust"] then
version = "^5",
lazy = false,
ft = { "rust" },
config = function()
require("atro.mason").ensure_installed("rust_analyzer")
require("rustaceanvim")
end,
},
{
"saecki/crates.nvim",
Expand Down
20 changes: 19 additions & 1 deletion mason-lock.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
{
"basedpyright": "1.19.1",
"bash-language-server": "5.4.2",
"codelldb": "v1.10.0",
"csharpier": "0.29.2",
"debugpy": "1.8.7",
"fixjson": "1.1.2",
"goimports": "v0.26.0",

"jsonlint": "1.6.3",
"markdownlint": "0.42.0",
"netcoredbg": "3.1.1-1042",
"omnisharp": "v1.39.12",
"prettier": "3.3.3",
"rust-analyzer": "2024-10-28",
"shellcheck": "v0.10.0",
"shellharden": "4.3.1",
"shfmt": "v3.10.0",
"sqls": "v0.2.28",
"stylua": "v0.20.0",
"taplo": "0.9.3",
"yamlfmt": "v0.13.0"
}

0 comments on commit 8bcbfd1

Please sign in to comment.