LunarVim
LunarVim copied to clipboard
"args" option does not work specifically for cpplint
Problem description
1.Install cpplint via mason
2. use args = { "--filter=-legal/copyright"}
LunarVim version
master-e4a5fe9
Neovim version (>= 0.7.2)
NVIM v0.7.2 Build type: Release LuaJIT 2.1.0-beta3 Compiled by runner@fv-az164-457
Operating system/version
Fedora 35
Steps to reproduce
No response
support info
Screenshots
No response
Try
args = { "--filter", "-legal/copyright" }
. Might be worth checking the logs to make sure the args are being passed.
(:NullLsLog
, but need to set the debug flag).
Try
args = { "--filter", "-legal/copyright" }
. Might be worth checking the logs to make sure the args are being passed.
Tried that too, doesn't work.
(
:NullLsLog
, but need to set the debug flag).
By default NullLsLog is blank. How do I set debug flag?
How do I set debug flag?
lvim.lsp.null_ls.setup["debug"] = true
lvim.lsp.null_ls.setup["debug"] = true
Still nothing in logs
How are you setting up null-ls/formatters/linters?
In config.lua
as mentioned in the docs. I also tried installing cpplint.py
via pip3 and then adding it to config.lua
but still facing the same issue.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Same for me
local linters = require "lvim.lsp.null-ls.linters"
linters.setup {
{
command = "cpplint",
args = { "--filter", "-legal/copyright" },
filetypes = { "c" },
}
}