[2025-05-08] Add rust_analyzer and some new plugins to nvim config

This commit is contained in:
Andrew Conlin 2025-05-08 16:29:47 +01:00
parent 728a618190
commit a666debfcf
7 changed files with 31 additions and 1 deletions

View file

@ -0,0 +1,3 @@
require("fidget").setup {
-- options
}

View file

@ -0,0 +1,8 @@
vim.lsp.config.rust_analyzer =
{
cmd = { "rust-analyzer" },
root_markers = { 'Cargo.toml' },
filetypes = { 'rust' },
}
vim.lsp.enable({'rust_analyzer'})

View file

@ -104,7 +104,6 @@ function M.statusline()
.. Highlight(GetDiag("warn"),"StatusLineDiagnosticWarn")
.. Highlight(GetDiag("info"),"StatusLineDiagnosticInfo")
.. Highlight(GetDiag("hint"),"StatusLineDiagnosticHint")
.. " "
return sline
end