Merge pull request #167 from ksonj/fix-null-ls

plugins: Replace null-ls with none-ls
This commit is contained in:
NotAShelf 2023-10-21 17:52:00 +03:00 committed by GitHub
commit df93a1129d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 21 deletions

View file

@ -916,6 +916,22 @@
"type": "github" "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": { "nui-nvim": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -932,22 +948,6 @@
"type": "github" "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": { "nvim-autopairs": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -1483,8 +1483,8 @@
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nmd": "nmd", "nmd": "nmd",
"noice-nvim": "noice-nvim", "noice-nvim": "noice-nvim",
"none-ls": "none-ls",
"nui-nvim": "nui-nvim", "nui-nvim": "nui-nvim",
"null-ls": "null-ls",
"nvim-autopairs": "nvim-autopairs", "nvim-autopairs": "nvim-autopairs",
"nvim-bufferline-lua": "nvim-bufferline-lua", "nvim-bufferline-lua": "nvim-bufferline-lua",
"nvim-cmp": "nvim-cmp", "nvim-cmp": "nvim-cmp",

View file

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

View file

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

View file

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