diff options
author | Rafael <[email protected]> | 2021-07-05 20:01:19 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-05 16:01:19 -0400 |
commit | 71c5cb4f0be89d3a175e99b0c2ebc5e55178e8a9 (patch) | |
tree | 941ed16b7e2f84ec45ce9b2c4a3d6d638cf584a7 /ftplugin/zsh.lua | |
parent | 9d399314d4ef9b05df738dda016ea52ec2e85823 (diff) |
(feat) use neoformat as the defalt format option (#715)
Diffstat (limited to 'ftplugin/zsh.lua')
-rw-r--r-- | ftplugin/zsh.lua | 6 |
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 |