Add nvim-lint options
This commit is contained in:
parent
16f1e00291
commit
7af8115e00
1 changed files with 6 additions and 0 deletions
6
conf/nvim/lua/plugins/nvimlint.lua
Normal file
6
conf/nvim/lua/plugins/nvimlint.lua
Normal file
|
@ -0,0 +1,6 @@
|
|||
require('lint').linters_by_ft = {
|
||||
bash = {'shellcheck'},
|
||||
sh = {'shellcheck'}
|
||||
}
|
||||
|
||||
vim.cmd('au BufWritePost <buffer> lua require("lint").try_lint()')
|
Loading…
Add table
Add a link
Reference in a new issue