1
0
Fork 0

set shfmt arguments in nvim

This commit is contained in:
Luca Bilke 2024-05-28 11:44:41 +02:00
parent a095020830
commit af2ffebf95
2 changed files with 8 additions and 1 deletions
.config/nvim

View File

@ -39,7 +39,6 @@ require("lazy").setup({
{ import = "lazyvim.plugins.extras.lang.rust" }, { import = "lazyvim.plugins.extras.lang.rust" },
{ import = "lazyvim.plugins.extras.lang.terraform" }, { import = "lazyvim.plugins.extras.lang.terraform" },
{ import = "lazyvim.plugins.extras.lang.toml" }, { import = "lazyvim.plugins.extras.lang.toml" },
{ import = "lazyvim.plugins.extras.lang.toml" },
{ import = "plugins" }, { import = "plugins" },
}, },
defaults = { defaults = {

View File

@ -1,4 +1,12 @@
return { return {
{
"stevearc/conform.nvim",
opts = {
formatters = {
shfmt = { prepend_args = { "-i", "4", "-ci" } },
},
},
},
{ {
"neovim/nvim-lspconfig", "neovim/nvim-lspconfig",
opts = { opts = {