feat(nvim): update null-ls-nvim

This commit is contained in:
Moritz Böhme 2023-10-08 13:32:42 +02:00
parent d943ab8b6d
commit 28961fe114
Signed by: moritz
GPG key ID: 970C6E89EB0547A9
5 changed files with 36 additions and 0 deletions

View file

@ -930,6 +930,22 @@
"type": "github" "type": "github"
} }
}, },
"none-ls-nvim": {
"flake": false,
"locked": {
"lastModified": 1696658105,
"narHash": "sha256-4+B2F4ZweWTqXlhSs0jiBaKSv52G4X7p37KHfYl6sPo=",
"owner": "nvimtools",
"repo": "none-ls.nvim",
"rev": "ae339f45590cc421a68de885fc5a3261cc247362",
"type": "github"
},
"original": {
"owner": "nvimtools",
"repo": "none-ls.nvim",
"type": "github"
}
},
"nvim-lspconfig": { "nvim-lspconfig": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -1040,6 +1056,7 @@
"nix-lazy-nvim": "nix-lazy-nvim", "nix-lazy-nvim": "nix-lazy-nvim",
"nix-super": "nix-super", "nix-super": "nix-super",
"nixpkgs": "nixpkgs_8", "nixpkgs": "nixpkgs_8",
"none-ls-nvim": "none-ls-nvim",
"nvim-lspconfig": "nvim-lspconfig", "nvim-lspconfig": "nvim-lspconfig",
"nvim-puppeteer": "nvim-puppeteer", "nvim-puppeteer": "nvim-puppeteer",
"nvim-treesitter": "nvim-treesitter", "nvim-treesitter": "nvim-treesitter",

View file

@ -48,6 +48,8 @@
telekasten-nvim.url = "github:renerocksai/telekasten.nvim"; telekasten-nvim.url = "github:renerocksai/telekasten.nvim";
telescope-nvim.flake = false; telescope-nvim.flake = false;
telescope-nvim.url = "github:nvim-telescope/telescope.nvim"; telescope-nvim.url = "github:nvim-telescope/telescope.nvim";
none-ls-nvim.flake = false;
none-ls-nvim.url = "github:nvimtools/none-ls.nvim";
# Hyprland # Hyprland
hypr-contrib.url = "github:hyprwm/contrib"; hypr-contrib.url = "github:hyprwm/contrib";

View file

@ -30,12 +30,17 @@ in
[ [
alejandra alejandra
black black
checkmake
deadnix deadnix
dotenv-linter
fish
isort isort
jq jq
nixd nixd
nixpkgs-fmt nixpkgs-fmt
nodePackages.bash-language-server nodePackages.bash-language-server
nodePackages.jsonlint
ruff-lsp
rustfmt rustfmt
shellcheck shellcheck
shfmt shfmt
@ -46,6 +51,7 @@ in
typst typst
typst-lsp typst-lsp
yamlfmt yamlfmt
yamllint
]; ];
extraLuaConfig = readFile ./options.lua; extraLuaConfig = readFile ./options.lua;
lazy.enable = true; lazy.enable = true;

View file

@ -8,9 +8,15 @@ null_ls.setup({
-- Completion -- Completion
null_ls.builtins.completion.spell, null_ls.builtins.completion.spell,
-- Diagnostics -- Diagnostics
null_ls.builtins.diagnostics.checkmake,
null_ls.builtins.diagnostics.deadnix, null_ls.builtins.diagnostics.deadnix,
null_ls.builtins.diagnostics.dotenv_linter,
null_ls.builtins.diagnostics.fish,
null_ls.builtins.diagnostics.jsonlint,
null_ls.builtins.diagnostics.shellcheck, null_ls.builtins.diagnostics.shellcheck,
null_ls.builtins.diagnostics.statix, null_ls.builtins.diagnostics.statix,
null_ls.builtins.diagnostics.trail_space,
null_ls.builtins.diagnostics.yamllint,
}, },
}) })

View file

@ -51,5 +51,10 @@ with lib.my;
version = mkVersionInput inputs.nvim-puppeteer; version = mkVersionInput inputs.nvim-puppeteer;
src = inputs.nvim-puppeteer; src = inputs.nvim-puppeteer;
}; };
null-ls-nvim = prev.vimPlugins.null-ls-nvim.overrideAttrs (a: {
version = mkVersionInput inputs.none-ls-nvim;
src = inputs.none-ls-nvim;
});
}; };
} }