nvim: after/ftplugin/sh: Drop language server & enable linting on save

Bash language server is written in typescript and we do
not want to keep node, npm or pnpm around for this.
This commit is contained in:
Sanchayan Maity 2024-11-23 11:01:33 +05:30
parent d821233538
commit d19e7b4382
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3

View file

@ -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,
})