From 05fd071b42825f4ff3c6ef5470b742d906550a77 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Tue, 26 Dec 2023 16:56:11 -0600 Subject: [PATCH] feat(nvim): define default zsh formatter as shfmt for formatter.nvim --- dots/.config/nvim/lua/plugins/configs/formatter.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dots/.config/nvim/lua/plugins/configs/formatter.lua b/dots/.config/nvim/lua/plugins/configs/formatter.lua index 5bc02b5c..1b1369d0 100644 --- a/dots/.config/nvim/lua/plugins/configs/formatter.lua +++ b/dots/.config/nvim/lua/plugins/configs/formatter.lua @@ -35,6 +35,15 @@ return { }, } end, + zsh = function() + return { + exe = "shfmt", + args = { + "-" + }, + stdin = true + } + end, asm = function() return { exe = "asmfmt",