diff --git a/flake.lock b/flake.lock index dde4cac..3e13532 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixCats": { "locked": { - "lastModified": 1751874031, - "narHash": "sha256-Bj8RGeMMNT4MThQJaKjML123kTXiKtTPsXWC2ieaiDc=", + "lastModified": 1758545673, + "narHash": "sha256-MMcEImF7vHqImzrdRlSFCbzGq0ebi/5eSYwypNGr+AA=", "owner": "BirdeeHub", "repo": "nixCats-nvim", - "rev": "a985eb3e7d30d3f9c9cf7e8a8718d2d10126bcbd", + "rev": "91f9a4b4605cc3aed835e180eb58a5bd73236407", "type": "github" }, "original": { @@ -17,11 +17,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1752012998, - "narHash": "sha256-Q82Ms+FQmgOBkdoSVm+FBpuFoeUAffNerR5yVV7SgT8=", + "lastModified": 1758763312, + "narHash": "sha256-puBMviZhYlqOdUUgEmMVJpXqC/ToEqSvkyZ30qQ09xM=", "owner": "nixos", "repo": "nixpkgs", - "rev": "2a2130494ad647f953593c4e84ea4df839fbd68c", + "rev": "e57b3b16ad8758fd681511a078f35c416a8cc939", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index b916dae..54a9a38 100644 --- a/flake.nix +++ b/flake.nix @@ -112,6 +112,10 @@ C = [ libclang ]; + bash = [ + shellcheck + bash-language-server + ]; }; format = [ ]; diff --git a/lua/myLuaConf/LSPs/init.lua b/lua/myLuaConf/LSPs/init.lua index f7562ac..9f74cce 100644 --- a/lua/myLuaConf/LSPs/init.lua +++ b/lua/myLuaConf/LSPs/init.lua @@ -161,6 +161,16 @@ require('lze').load { enabled = nixCats("lsp.python"), lsp = {}, }, + { + "bashls", + enabled = nixCats("lsp.bash"), + lsp = {}, + }, + { + "clangd", + enabled = nixCats("lsp.c"), + lsp = {}, + }, { "ruff", enabled = nixCats("lsp.python"), @@ -231,8 +241,10 @@ require('lze').load { vim.api.nvim_set_keymap("n", "zo", "ZkNotes { sort = { 'modified' } }", { desc = "[O]pen notes" }) vim.api.nvim_set_keymap("n", "zt", "ZkTags", { desc = "Search [T]ags" }) vim.api.nvim_set_keymap("v", "zf", ":'<,'>ZkMatch", { desc = "[F]ind note from selection" }) - vim.api.nvim_set_keymap("v", "zn", ":'<,'>ZkNewFromTitleSelection", { desc = - "[N]ew note from selection" }) + vim.api.nvim_set_keymap("v", "zn", ":'<,'>ZkNewFromTitleSelection", { + desc = + "[N]ew note from selection" + }) end }, }