Compare commits

..

5 commits

Author SHA1 Message Date
c83e5b8b4a chore: update lazyvim 2024-11-15 21:45:23 -08:00
e9081c5ea1 more rustacean cleanup 2024-11-15 21:45:23 -08:00
aaecea475c rustacean shenanigans 2024-11-15 21:43:48 -08:00
d71bdcddd7 sql setup 2024-11-15 21:43:21 -08:00
63433f84d8 personal codesnap fork 2024-11-15 21:43:21 -08:00
5 changed files with 40 additions and 12 deletions

View file

@ -23,5 +23,4 @@
"news": { "news": {
"NEWS.md": "6520" "NEWS.md": "6520"
}, },
"version": 6 "version": 7
}

View file

@ -1,6 +1,7 @@
return { return {
{ {
"mistricky/codesnap.nvim", "https://git.zynh.me/Zynh0722/codesnap.nvim",
branch = "rose-pine-theme",
build = "make", build = "make",
cmd = "CodeSnap", cmd = "CodeSnap",
opts = { opts = {

View file

@ -1,9 +1,11 @@
return { return {
"stevearc/conform.nvim", "stevearc/conform.nvim",
opts = { opts = {
formatters_by_ft = { formatters = {
sql = { "sql_formatter" }, sqlfluff = {
-- nix = { "nixpgs_fmt" }, args = { "format", "--dialect=sqlite", "-" },
}, },
}, },
},
setup = {},
} }

15
lua/plugins/nvim-lint.lua Normal file
View file

@ -0,0 +1,15 @@
return {
"mfussenegger/nvim-lint",
opts = {
linters = {
sqlfluff = {
args = {
"lint",
"--format=json",
-- note: users will have to replace the --dialect argument accordingly
"--dialect=sqlite",
},
},
},
},
}

View file

@ -19,12 +19,23 @@ return {
enable = false, enable = false,
}, },
}, },
procMacro = { -- procMacro = {
enable = true, -- enable = true,
-- ignored = { -- ignored = {
-- ["leptos_macro"] = { "component" }, -- ["leptos_macro"] = { "component" },
-- }, -- },
}, -- },
-- files = {
-- excludeDirs = {
-- ".direnv",
-- "target",
-- },
-- watcherExclude = {
-- ".direnv",
-- "target",
-- "node_modules"
-- },
-- },
checkOnSave = true, checkOnSave = true,
check = { check = {
command = "clippy", command = "clippy",