From 7cacb020e0c6f302d9cbe614d3db71c39b7965c9 Mon Sep 17 00:00:00 2001 From: Felipe Contreras Salinas Date: Wed, 2 Aug 2023 01:31:51 -0400 Subject: [PATCH] nvim-lint: use postgres for ruff and add name for clippy --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 6daf8cb..423c15c 100644 --- a/init.lua +++ b/init.lua @@ -281,6 +281,7 @@ local clippy_format = "%E%f:%l:%c: %\\d%#:%\\d%# %.%\\{-}" -- clippy -- lint.linters.clippy = { + name = "clippy", cmd = "cargo clippy", stdin = false, append_fname = true, @@ -295,8 +296,7 @@ lint.linters.clippy = { lint.linters.sqlfluff.args = { "lint", "--format=json", - -- note: users will have to replace the --dialect argument accordingly - "--dialect=sqlite", + "--dialect=postgres", "-", }