From ff70755af6da3ac744b433d330cb40c47626a74f Mon Sep 17 00:00:00 2001 From: Daniel Lynn Date: Wed, 4 Aug 2021 10:51:46 -0500 Subject: [PATCH] Add shell linting and formatting --- nvim/coc-settings.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nvim/coc-settings.json b/nvim/coc-settings.json index f6c7ed6..e99ae2d 100644 --- a/nvim/coc-settings.json +++ b/nvim/coc-settings.json @@ -9,6 +9,12 @@ "diagnostic.warningSign": "⚠", "diagnostic.infoSign": "🛈", "diagnostic.checkCurrentLine": true, + "diagnostic-languageserver.filetypes": { + "sh": "shellcheck" + }, + "diagnostic-languageserver.formatFiletypes": { + "sh": "shfmt" + }, "coc.preferences.formatOnSaveFiletypes": [ "css", "go",