diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 7cc90824f..65046e322 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -39,7 +39,6 @@ require("lazy").setup({ { import = "lazyvim.plugins.extras.lang.rust" }, { import = "lazyvim.plugins.extras.lang.terraform" }, { import = "lazyvim.plugins.extras.lang.toml" }, - { import = "lazyvim.plugins.extras.lang.toml" }, { import = "plugins" }, }, defaults = { diff --git a/.config/nvim/lua/plugins/language.lua b/.config/nvim/lua/plugins/language.lua index 603433511..669b404be 100644 --- a/.config/nvim/lua/plugins/language.lua +++ b/.config/nvim/lua/plugins/language.lua @@ -1,4 +1,12 @@ return { + { + "stevearc/conform.nvim", + opts = { + formatters = { + shfmt = { prepend_args = { "-i", "4", "-ci" } }, + }, + }, + }, { "neovim/nvim-lspconfig", opts = {