1
0
Fork 0

lint: remove local clippy definition

This commit is contained in:
Felipe 2024-08-08 21:34:57 -04:00
parent 500d6aae0b
commit 4f4d7a7985
Signed by: pitbuster
SSH key fingerprint: SHA256:HDYu2Pm4/TmSX8GBwV49UvFWr1Ljg8XlHxKeCpjJpOk

View file

@ -403,28 +403,6 @@ vim.diagnostic.config({
---- nvim-lint ----
local lint = require("lint")
local clippy_format = "%E%f:%l:%c: %\\d%#:%\\d%# %.%\\{-}"
.. "error:%.%\\{-} %m,%W%f:%l:%c: %\\d%#:%\\d%# %.%\\{-}"
.. "warning:%.%\\{-} %m,%C%f:%l %m,%-G,%-G"
.. "error: aborting %.%#,%-G"
.. "error: Could not compile %.%#,%E"
.. "error: %m,%Eerror[E%n]: %m,%-G"
.. "warning: the option `Z` is unstable %.%#,%W"
.. "warning: %m,%Inote: %m,%C %#--> %f:%l:%c"
-- clippy --
lint.linters.clippy = {
name = "clippy",
cmd = "cargo",
stdin = false,
append_fname = false,
args = { "clippy" },
stream = "stdout",
ignore_exitcode = true,
env = nil,
parser = require("lint.parser").from_errorformat(clippy_format),
}
-- sqlfluff --
lint.linters.sqlfluff.args = {
"lint",