From c9e2adbbc8fd7a5398c8c66d21f0e02dc7b60203 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 8 Nov 2021 23:13:05 +0100 Subject: Add new lunarvin updates --- .config/nvim/ftplugin/sh.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.config/nvim/ftplugin/sh.lua') diff --git a/.config/nvim/ftplugin/sh.lua b/.config/nvim/ftplugin/sh.lua index 442273a..6fcc649 100644 --- a/.config/nvim/ftplugin/sh.lua +++ b/.config/nvim/ftplugin/sh.lua @@ -1 +1,4 @@ -options.lang.sh.linters = { { exe = "shellcheck", args = { "--sverity", "error" } } } +local formatters = require "lsp.null-ls.formatters" +formatters.setup { + { exe = "shellcheck", args = { "--sverity", "error" }, filetypes = { "sh" } }, +} -- cgit v1.2.3-70-g09d2