From 4f4d7a79857ac51c8cd07e5f69b4096b4ff07853 Mon Sep 17 00:00:00 2001 From: Felipe Contreras Salinas Date: Thu, 8 Aug 2024 21:34:57 -0400 Subject: [PATCH] lint: remove local clippy definition --- init.lua | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/init.lua b/init.lua index 7665838..ed09ca4 100644 --- a/init.lua +++ b/init.lua @@ -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",