diff --git a/nvim/.config/nvim/after/ftplugin/sh.lua b/nvim/.config/nvim/after/ftplugin/sh.lua index 8ce66b1..6d197de 100644 --- a/nvim/.config/nvim/after/ftplugin/sh.lua +++ b/nvim/.config/nvim/after/ftplugin/sh.lua @@ -1,4 +1,6 @@ -local lsp_utils = require('lsp-utils') -local bashls_config = lsp_utils.bashls_config() - -vim.lsp.start(bashls_config) +vim.api.nvim_create_autocmd({ "BufWritePost" }, { + buffer = 0, + callback = function() + require("lint").try_lint() + end, +})