summaryrefslogtreecommitdiff
path: root/ftplugin/zsh.lua
diff options
context:
space:
mode:
authorJacek Kiedrowski <[email protected]>2021-07-05 23:26:25 +0100
committerGitHub <[email protected]>2021-07-05 23:26:25 +0100
commit5b497747448b3946675f7361c9667bb0dc1da11a (patch)
treef9f08a2729f7f3134675114ac97e128a8be08ee7 /ftplugin/zsh.lua
parent64e544b56114f7b93a56814067caa28c83cfaec4 (diff)
parenta469c710bfc01f291df68dba40464caaa2b496da (diff)
Merge branch 'ChristianChiarulli:master' into master
Diffstat (limited to 'ftplugin/zsh.lua')
-rw-r--r--ftplugin/zsh.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/ftplugin/zsh.lua b/ftplugin/zsh.lua
index a2847f19..b6fa9d5d 100644
--- a/ftplugin/zsh.lua
+++ b/ftplugin/zsh.lua
@@ -15,17 +15,11 @@ require("lspconfig").bashls.setup {
-- sh
local sh_arguments = {}
-local shfmt = { formatCommand = "shfmt -ci -s -bn", formatStdin = true }
-
local shellcheck = {
LintCommand = "shellcheck -f gcc -x",
lintFormats = { "%f:%l:%c: %trror: %m", "%f:%l:%c: %tarning: %m", "%f:%l:%c: %tote: %m" },
}
-if O.lang.sh.formatter == "shfmt" then
- table.insert(sh_arguments, shfmt)
-end
-
if O.lang.sh.linter == "shellcheck" then
table.insert(sh_arguments, shellcheck)
end