diff --git a/lua/custom/plugins/formatting.lua b/lua/custom/plugins/formatting.lua index 4e121fb4..af803017 100644 --- a/lua/custom/plugins/formatting.lua +++ b/lua/custom/plugins/formatting.lua @@ -18,7 +18,7 @@ return { -- Ensure 'ruff' is installed via Home Manager (pkgs.ruff) python = { 'ruff_format', 'ruff_fix' }, -- python = { 'isort', 'black' }, - nix = { 'nixpkgs_fmt' }, -- Add nix formatter + nix = { 'alejandra' }, -- Add nix formatter -- Add other filetypes and formatters, e.g.: -- javascript = { "prettier" }, -- typescript = { "prettier" }, diff --git a/lua/custom/plugins/lsp.lua b/lua/custom/plugins/lsp.lua index 76f25ddc..615dc109 100644 --- a/lua/custom/plugins/lsp.lua +++ b/lua/custom/plugins/lsp.lua @@ -17,6 +17,7 @@ return { 'lua_ls', 'clangd', 'pyright', + 'nixd', -- Add others like 'bashls', 'yamlls', 'nixd', 'gopls', 'rust_analyzer' etc. if needed }, },