Update 2026-03-11

This commit is contained in:
2026-03-11 14:17:43 +02:00
parent a4a1151421
commit 781510cbb9
9 changed files with 80 additions and 40 deletions

View File

@@ -2,15 +2,14 @@ return {
"catgoose/nvim-colorizer.lua",
event = "BufReadPre",
opts = {
user_default_options = {
names = false,
css = true,
css_fn = true,
tailwind = true,
tailwind_opts = {
update_names = true,
options = {
parsers = {
css = true,
names = false,
css_fn = true,
tailwind = { enable = true, lsp = true, update_name = true },
sass = { enable = true, parsers = { css = true } },
},
sass = { enable = true, parsers = { "css" } },
},
},
}

View File

@@ -34,10 +34,13 @@ return {
javascript = js,
javascriptreact = js,
json = { "jq" },
kdl = { "kdlfmt" },
lua = function()
local config_file = vim.fn.getcwd() .. "/*stylua.toml"
if vim.fn.exists(config_file) then
return { "stylua" }
return {
"stylua",
}
end
return {}
end,
@@ -65,6 +68,13 @@ return {
}
end,
},
injected = {
condition = function(_, ctx)
return not ctx.filename:match("%.jsonl$")
and not ctx.filename:match("%.ndjson$")
and not ctx.filename:match("%.jsonlines$")
end,
},
},
format_on_save = {
timeout_ms = 500,

6
lua/plugins/jsonl.lua Normal file
View File

@@ -0,0 +1,6 @@
return {
"https://codeberg.org/kristoferssolo/jsonl.nvim",
dependencies = { "nvim-treesitter/nvim-treesitter" },
ft = { "ndjson", "jsonl", "jsonlines" },
opts = {},
}

View File

@@ -3,6 +3,8 @@ return {
ft = "lua",
opts = {
library = {
"~/repos/lualine-harpoon.nvim",
"~/Nextcloud/repos/jsonl.nvim",
{ path = "${3rd}/luv/library", words = { "vim%.uv" } },
},
},

View File

@@ -1 +1,5 @@
return { "mtdl9/vim-log-highlighting", ft = "log" }
return {
"fei6409/log-highlight.nvim",
ft = "log",
opts = {},
}

View File

@@ -43,8 +43,13 @@ return {
},
},
{
"benomahony/oil-git.nvim",
"malewicz1337/oil-git.nvim",
dependencies = { "stevearc/oil.nvim" },
opts = {
show_file_highlights = true,
show_directory_highlights = false,
show_ignored_files = true,
},
},
{
"JezerM/oil-lsp-diagnostics.nvim",

View File

@@ -1,6 +1,7 @@
return {
"gisketch/triforce.nvim",
dependencies = { "nvzone/volt" },
cmd = { "Triforce" },
opts = {},
config = function()
require("triforce").setup()
end,
}