mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
- Nvim Theme changed to github-dark-dimmed - keeps it in sync with the kitty theme
- Reorged multiple nvim settings (using LazyVim as primary now)
This commit is contained in:
26
common/.config/nvim/lua/plugins/linting.lua
Normal file
26
common/.config/nvim/lua/plugins/linting.lua
Normal file
@@ -0,0 +1,26 @@
|
||||
return {
|
||||
{
|
||||
"mfussenegger/nvim-lint",
|
||||
opts = {
|
||||
linters_by_ft = {
|
||||
text = { "vale" },
|
||||
json = { "jsonlint" },
|
||||
markdown = { "markdownlint", "vale" },
|
||||
rst = { "vale" },
|
||||
dockerfile = { "hadolint" },
|
||||
go = { "golangcilint" },
|
||||
jq = { "jq" },
|
||||
bash = { "shellcheck" },
|
||||
shell = { "shellcheck" },
|
||||
yaml = { "yamllint" },
|
||||
zsh = { "zsh" },
|
||||
typescript = { "eslint_d" },
|
||||
javascript = { "eslint_d" },
|
||||
-- Use the "*" filetype to run linters on all filetypes.
|
||||
-- ['*'] = { 'global linter' },
|
||||
-- Use the "_" filetype to run linters on filetypes that don't have other linters configured.
|
||||
-- ['_'] = { 'fallback linter' },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user