mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2026-03-22 00:36:19 +00:00
Update 2026-03-11
This commit is contained in:
@@ -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" } },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -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
6
lua/plugins/jsonl.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"https://codeberg.org/kristoferssolo/jsonl.nvim",
|
||||
dependencies = { "nvim-treesitter/nvim-treesitter" },
|
||||
ft = { "ndjson", "jsonl", "jsonlines" },
|
||||
opts = {},
|
||||
}
|
||||
@@ -3,6 +3,8 @@ return {
|
||||
ft = "lua",
|
||||
opts = {
|
||||
library = {
|
||||
"~/repos/lualine-harpoon.nvim",
|
||||
"~/Nextcloud/repos/jsonl.nvim",
|
||||
{ path = "${3rd}/luv/library", words = { "vim%.uv" } },
|
||||
},
|
||||
},
|
||||
|
||||
@@ -1 +1,5 @@
|
||||
return { "mtdl9/vim-log-highlighting", ft = "log" }
|
||||
return {
|
||||
"fei6409/log-highlight.nvim",
|
||||
ft = "log",
|
||||
opts = {},
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
return {
|
||||
"gisketch/triforce.nvim",
|
||||
dependencies = { "nvzone/volt" },
|
||||
cmd = { "Triforce" },
|
||||
opts = {},
|
||||
config = function()
|
||||
require("triforce").setup()
|
||||
end,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user