diff --git a/lua/astrocommunity/pack/nix/README.md b/lua/astrocommunity/pack/nix/README.md index 1b8f5e031..f8abcda11 100644 --- a/lua/astrocommunity/pack/nix/README.md +++ b/lua/astrocommunity/pack/nix/README.md @@ -9,7 +9,7 @@ Requires the following in your `PATH` This plugin pack does the following: - Adds `nix` Treesitter parsers -- Adds `nil_ls` language server +- Adds `nixd` language server - Adds the following `null-ls` sources: - [alejandra](https://github.com/kamadorueda/alejandra) - [deadnix](https://github.com/astro/deadnix) diff --git a/lua/astrocommunity/pack/nix/init.lua b/lua/astrocommunity/pack/nix/init.lua index d65584c71..fa20c436e 100644 --- a/lua/astrocommunity/pack/nix/init.lua +++ b/lua/astrocommunity/pack/nix/init.lua @@ -12,14 +12,14 @@ return { "williamboman/mason-lspconfig.nvim", optional = true, opts = function(_, opts) - opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { "nil_ls" }) + opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { "nixd" }) end, }, { "WhoIsSethDaniel/mason-tool-installer.nvim", optional = true, opts = function(_, opts) - opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { "nil_ls" }) + opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { "nixd" }) end, }, {