diff --git a/nvchad/.config/nvim/lua/configs/lspconfig.lua b/nvchad/.config/nvim/lua/configs/lspconfig.lua index 440fbd3..e4437ad 100644 --- a/nvchad/.config/nvim/lua/configs/lspconfig.lua +++ b/nvchad/.config/nvim/lua/configs/lspconfig.lua @@ -3,7 +3,7 @@ local on_init = require("nvchad.configs.lspconfig").on_init local capabilities = require("nvchad.configs.lspconfig").capabilities local lspconfig = require("lspconfig") -local servers = { "html", "cssls", "tsserver", "clangd", "rust_analyzer", "vhdl_ls", "hls", "tailwindcss", "pyright", "julials" } +local servers = { "html", "cssls", "tsserver", "clangd", "vhdl_ls", "hls", "tailwindcss", "pyright", "julials" } -- lsps with default config for _, lsp in ipairs(servers) do diff --git a/nvchad/.config/nvim/lua/plugins/init.lua b/nvchad/.config/nvim/lua/plugins/init.lua index b16ee02..f117eb7 100644 --- a/nvchad/.config/nvim/lua/plugins/init.lua +++ b/nvchad/.config/nvim/lua/plugins/init.lua @@ -30,6 +30,9 @@ local plugins = { -- c/cpp stuff "clangd", "clang-format", + + -- rust + "rust-analyzer", }, }, }, @@ -76,6 +79,9 @@ local plugins = { -- Divine Intellect Languages lua = { "stylua" }, + -- rust + rust = { "rustfmt" }, + -- Web Dev shit javascript = { "prettier" }, typescript = { "prettier" }, @@ -132,6 +138,8 @@ local plugins = { "haskell", "python", "zig", + "rust", + "vhdl", }, indent = { enable = true,