some plugin changes and visual optimisations

This commit is contained in:
pika 2025-04-05 10:51:29 +02:00
parent 89322b376a
commit 741556792b
8 changed files with 143 additions and 77 deletions

View file

@ -138,7 +138,7 @@ return {
),
},
-- ─< INFO: Those comments are really great! >──────────────────────────────────────────
-- ─< ERROR: Those comments are really great! >──────────────────────────────────────────
-- ─────────────────────< NOTE: And they can be pretty satisfying... >─────────────────────
-- ╭──────────────────────────────────────╮
-- │ WARN: Also they can change in color! │
@ -148,8 +148,9 @@ return {
dependencies = { "nvim-lua/plenary.nvim" },
opts = {
keywords = {
NOTE = { icon = "", color = "hint" },
INFO = { icon = "", color = "info" },
NOTE = { icon = "", color = "hint", alt = { "TIP" } },
INFO = { icon = "", color = "info", alt = { "INFORMATION" } },
ERROR = { icon = "", color = "error", alt = { "ERR" } },
WARNING = { icon = "", color = "warning", alt = { "WARN" } },
},
},
@ -200,7 +201,7 @@ return {
enable_named_colors = true,
---Highlight tailwind colors, e.g. 'bg-blue-500'
enable_tailwind = false,
enable_tailwind = true,
---Set custom colors
---Label must be properly escaped with '%' to adhere to `string.gmatch`
@ -219,21 +220,21 @@ return {
-- ╭──────────────────────────────────────╮
-- │ flash - to navigate more efficiently │
-- ╰──────────────────────────────────────╯
{
"folke/flash.nvim",
event = "VeryLazy",
vscode = true,
-- @type Flash.Config
opts = {},
-- stylua: ignore
keys = {
{ "s", mode = { "n", "x", "o" }, function() require("flash").jump() end, desc = "Flash" },
{ "S", mode = { "n", "o", "x" }, function() require("flash").treesitter() end, desc = "Flash Treesitter" },
{ "r", mode = "o", function() require("flash").remote() end, desc = "Remote Flash" },
{ "R", mode = { "o", "x" }, function() require("flash").treesitter_search() end, desc = "Treesitter Search" },
{ "<c-s>", mode = { "c" }, function() require("flash").toggle() end, desc = "Toggle Flash Search" },
},
},
-- {
-- "folke/flash.nvim",
-- event = "VeryLazy",
-- vscode = true,
-- -- @type Flash.Config
-- -- opts = {},
-- -- stylua: ignore
-- keys = {
-- { "s", mode = { "n", "x", "o" }, function() require("flash").jump() end, desc = "Flash" },
-- { "S", mode = { "n", "o", "x" }, function() require("flash").treesitter() end, desc = "Flash Treesitter" },
-- { "r", mode = "o", function() require("flash").remote() end, desc = "Remote Flash" },
-- { "R", mode = { "o", "x" }, function() require("flash").treesitter_search() end, desc = "Treesitter Search" },
-- { "<c-s>", mode = { "c" }, function() require("flash").toggle() end, desc = "Toggle Flash Search" },
-- },
-- },
-- ╭──────────────────────────────╮
-- │ renaming (also project wide) │