plugins: Replace null-ls with none-ls

null-ls is unmaintained as of August 2023 (see
https://github.com/jose-elias-alvarez/null-ls.nvim/issues/1621). none-ls
appears to be the accepted replacement fork.
This commit is contained in:
Kalle Jepsen 2023-10-21 12:35:39 +02:00
parent 34db883c69
commit 49c0a5962f
4 changed files with 21 additions and 21 deletions

View File

@ -916,6 +916,22 @@
"type": "github"
}
},
"none-ls": {
"flake": false,
"locked": {
"lastModified": 1697600654,
"narHash": "sha256-dDMZEgT5uG31bEsLiX9r6MJlOJUdQyeTPJAeRcY2z7s=",
"owner": "nvimtools",
"repo": "none-ls.nvim",
"rev": "dc9b7e28f5573a1a2225ffb33893d23d3e052ed6",
"type": "github"
},
"original": {
"owner": "nvimtools",
"repo": "none-ls.nvim",
"type": "github"
}
},
"nui-nvim": {
"flake": false,
"locked": {
@ -932,22 +948,6 @@
"type": "github"
}
},
"null-ls": {
"flake": false,
"locked": {
"lastModified": 1688652536,
"narHash": "sha256-6KJtj9pbvBm6fOVpnyzO2fEVC+cVrw2XtZHOgq9ieIw=",
"owner": "jose-elias-alvarez",
"repo": "null-ls.nvim",
"rev": "db09b6c691def0038c456551e4e2772186449f35",
"type": "github"
},
"original": {
"owner": "jose-elias-alvarez",
"repo": "null-ls.nvim",
"type": "github"
}
},
"nvim-autopairs": {
"flake": false,
"locked": {
@ -1483,8 +1483,8 @@
"nixpkgs": "nixpkgs",
"nmd": "nmd",
"noice-nvim": "noice-nvim",
"none-ls": "none-ls",
"nui-nvim": "nui-nvim",
"null-ls": "null-ls",
"nvim-autopairs": "nvim-autopairs",
"nvim-bufferline-lua": "nvim-bufferline-lua",
"nvim-cmp": "nvim-cmp",

View File

@ -111,8 +111,8 @@
flake = false;
};
null-ls = {
url = "github:jose-elias-alvarez/null-ls.nvim";
none-ls = {
url = "github:nvimtools/none-ls.nvim";
flake = false;
};

View File

@ -31,7 +31,7 @@ with lib; let
"vim-vsnip"
"nvim-code-action-menu"
"trouble"
"null-ls"
"none-ls"
"which-key"
"indent-blankline"
"nvim-cursorline"

View File

@ -11,7 +11,7 @@ in {
config = mkIf cfg.null-ls.enable (mkMerge [
{
vim.lsp.enable = true;
vim.startPlugins = ["null-ls"];
vim.startPlugins = ["none-ls"];
vim.luaConfigRC.null_ls-setup = nvim.dag.entryAnywhere ''
local null_ls = require("null-ls")