nvim: after/plugin/nvim-lint: Enable clang-tidy
This commit is contained in:
parent
9a188237a2
commit
09f609b26a
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@ local nvim_lint = require 'lint'
|
||||||
vim.keymap.set('n', '<Leader>l', ':lua require(\'lint\').try_lint()<CR>', { noremap = true, unique = true })
|
vim.keymap.set('n', '<Leader>l', ':lua require(\'lint\').try_lint()<CR>', { noremap = true, unique = true })
|
||||||
|
|
||||||
nvim_lint.linters_by_ft = {
|
nvim_lint.linters_by_ft = {
|
||||||
|
c = { 'clangtidy' },
|
||||||
dockerfile = { 'hadolint' },
|
dockerfile = { 'hadolint' },
|
||||||
fish = { 'fish' },
|
fish = { 'fish' },
|
||||||
go = { 'revive' },
|
go = { 'revive' },
|
||||||
|
|
Loading…
Reference in a new issue