at last, got c lang lint to work, muted cppcheck 'cuz unnecessary
This commit is contained in:
parent
7120876518
commit
4d99da2c23
4 changed files with 5 additions and 3 deletions
|
|
@ -147,6 +147,8 @@ return { -- LSP Configuration & Plugins
|
|||
clangd = {
|
||||
cmd = {
|
||||
'clangd',
|
||||
'--background-index',
|
||||
'--offset-encoding=utf-16',
|
||||
},
|
||||
},
|
||||
-- gopls = {},
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ return {
|
|||
local lint = require 'lint'
|
||||
lint.linters_by_ft = {
|
||||
python = { 'ruff' },
|
||||
cpp = { 'cppcheck' },
|
||||
c = { 'cppcheck' },
|
||||
-- cpp = { 'cppcheck' },
|
||||
-- c = { 'cppcheck' },
|
||||
javascript = { 'eslint' },
|
||||
css = { 'stylelint' },
|
||||
html = { 'tidy' },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue