Skip to content

Commit

Permalink
feat(nix): Replace nil_ls with nixd (#1093)
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzaaft authored Jul 8, 2024
1 parent 45eb4fe commit 96c8887
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lua/astrocommunity/pack/nix/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions lua/astrocommunity/pack/nix/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
{
Expand Down

0 comments on commit 96c8887

Please sign in to comment.