From 6cd9aa24e0fcdd1f96cfbc104cf9a916e82faffb Mon Sep 17 00:00:00 2001 From: Mykhailo Nikiforov Date: Thu, 12 Oct 2023 12:21:11 +0300 Subject: [PATCH 1/3] feat(lazy-lock): add lazy-lock symlink --- nvim/lazy-lock.json | 1 + 1 file changed, 1 insertion(+) create mode 120000 nvim/lazy-lock.json diff --git a/nvim/lazy-lock.json b/nvim/lazy-lock.json new file mode 120000 index 0000000..b8f7329 --- /dev/null +++ b/nvim/lazy-lock.json @@ -0,0 +1 @@ +/opt/lazy-lock.json \ No newline at end of file -- 2.49.1 From 2b09f7fcebcdf7b5577f21e276bcdb56e7479c4e Mon Sep 17 00:00:00 2001 From: Mykhailo Nikiforov Date: Thu, 12 Oct 2023 12:22:07 +0300 Subject: [PATCH 2/3] feat(lang-shell): set default indent in shell scripts to 2 spaces --- nvim/lua/plugins/lang/shell.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/lua/plugins/lang/shell.lua b/nvim/lua/plugins/lang/shell.lua index d73e116..981e22a 100644 --- a/nvim/lua/plugins/lang/shell.lua +++ b/nvim/lua/plugins/lang/shell.lua @@ -18,7 +18,7 @@ return { vim.list_extend(opts.sources, { nls.builtins.code_actions.shellcheck, -- nls.builtins.diagnostics.shellcheck, - nls.builtins.formatting.shfmt, + nls.builtins.formatting.shfmt.with({ args = { "-filename", "$FILENAME", "-i", "2" } }), }) end, }, -- 2.49.1 From bc1175ba3892a0fd40a2d5268f766e6a500fd082 Mon Sep 17 00:00:00 2001 From: Mykhailo Nikiforov Date: Thu, 12 Oct 2023 12:22:31 +0300 Subject: [PATCH 3/3] chore(flake): update flake lock file --- flake.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 6e7efbc..1f9e80c 100644 --- a/flake.lock +++ b/flake.lock @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1695559356, - "narHash": "sha256-kXZ1pUoImD9OEbPCwpTz4tHsNTr4CIyIfXb3ocuR8sI=", + "lastModified": 1696983906, + "narHash": "sha256-L7GyeErguS7Pg4h8nK0wGlcUTbfUMDu+HMf1UcyP72k=", "owner": "nixos", "repo": "nixpkgs", - "rev": "261abe8a44a7e8392598d038d2e01f7b33cf26d0", + "rev": "bd1cde45c77891214131cbbea5b1203e485a9d51", "type": "github" }, "original": { -- 2.49.1