aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config/nvim/lua/custom/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'home/.config/nvim/lua/custom/plugins')
-rw-r--r--home/.config/nvim/lua/custom/plugins/init.lua18
1 files changed, 17 insertions, 1 deletions
diff --git a/home/.config/nvim/lua/custom/plugins/init.lua b/home/.config/nvim/lua/custom/plugins/init.lua
index 784995c..2ee8406 100644
--- a/home/.config/nvim/lua/custom/plugins/init.lua
+++ b/home/.config/nvim/lua/custom/plugins/init.lua
@@ -931,7 +931,6 @@ return {
},
ruff_lsp = {},
pyright = {},
- rust_analyzer = {},
clangd = {
cmd = {
"clangd",
@@ -1046,6 +1045,23 @@ return {
},
},
{
+ 'mrcjkb/rustaceanvim',
+ config = function()
+ vim.g.rustaceanvim = {
+ server = {
+ on_attach = function(client, bufnr)
+ require("cfg.lsp").on_attach_wrapper(
+ client,
+ bufnr,
+ { auto_format = true }
+ )
+ end,
+ },
+ }
+ end,
+ ft = { 'rust' },
+ },
+ {
'nvim-lualine/lualine.nvim',
opts = {
options = {