Skip to content

Commit

Permalink
feat: replace rnix with nil_ls as its deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
sbulav committed Mar 22, 2024
1 parent ea0b9fd commit 7783331
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nix/modules/darwin/tools/lsp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ in {
environment.systemPackages = with pkgs; [
lua-language-server # LSP for lua
marksman # LSP for markdown
rnix-lsp # LSP for nix
nil # LSP for nix
tree-sitter
yamllint
nodejs_21 # Note for LSP servers
Expand Down
2 changes: 1 addition & 1 deletion nix/modules/nixos/system/nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ in {
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
cachix
rnix-lsp
nil
nixfmt
nix-index
nix-prefetch-git
Expand Down
2 changes: 1 addition & 1 deletion nix/modules/nixos/tools/lsp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ in {
environment.systemPackages = with pkgs; [
lua-language-server # LSP for lua
marksman # LSP for markdown
rnix-lsp # LSP for nix
nil # LSP for nix
tree-sitter
yamllint
nodejs_21 # Note for LSP servers
Expand Down
2 changes: 1 addition & 1 deletion nvim/lua/plugins/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ return {
require("lspconfig")[server].setup(server_opts)
end,
-- manually configured servers
require("lspconfig")["rnix"].setup {},
require("lspconfig")["nil_ls"].setup {},
require("lspconfig")["marksman"].setup { cmd = { "marksman", "server" } },

require("lspconfig")["lua_ls"].setup {
Expand Down

0 comments on commit 7783331

Please sign in to comment.