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": { 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 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, },