some changes ported from the main config
This commit is contained in:
parent
5b3685e857
commit
98c084dcca
4 changed files with 67 additions and 40 deletions
|
@ -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,9 +148,10 @@ return {
|
|||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
opts = {
|
||||
keywords = {
|
||||
NOTE = { icon = " ", color = "hint" },
|
||||
INFO = { icon = " ", color = "info" },
|
||||
WARNING = { icon = " ", color = "warning", alt = { "WARN" } },
|
||||
NOTE = { icon = " ", color = "hint", alt = { "TIP" } },
|
||||
INFO = { icon = " ", color = "info", alt = { "INFORMATION" } },
|
||||
ERROR = { icon = " ", color = "error", alt = { "ERR" } },
|
||||
WARNING = { icon = " ", color = "warning", alt = { "WARN", "WHY" } },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -164,6 +165,7 @@ return {
|
|||
---Render style
|
||||
---@usage 'background'|'foreground'|'virtual'
|
||||
render = "background",
|
||||
-- render = "virtual",
|
||||
|
||||
---Set virtual symbol (requires render to be set to 'virtual')
|
||||
virtual_symbol = "■",
|
||||
|
@ -200,7 +202,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`
|
||||
|
@ -216,25 +218,6 @@ 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" },
|
||||
},
|
||||
},
|
||||
|
||||
-- ╭──────────────────────────────╮
|
||||
-- │ renaming (also project wide) │
|
||||
-- ╰──────────────────────────────╯
|
||||
|
|
|
@ -217,6 +217,7 @@ return {
|
|||
-- vim.notify = require("notify")
|
||||
-- end,
|
||||
-- },
|
||||
|
||||
-- ╭──────────────────────────────╮
|
||||
-- │ slimline - nice bar for nvim │
|
||||
-- ╰──────────────────────────────╯
|
||||
|
@ -228,9 +229,37 @@ return {
|
|||
verbose_mode = false, -- Mode as single letter or as a word
|
||||
style = "bg", -- or "fg". Whether highlights should be applied to bg or fg of components
|
||||
mode_follow_style = true, -- Whether the mode color components should follow the style option
|
||||
spaces = {
|
||||
components = "─",
|
||||
left = "─",
|
||||
right = "─",
|
||||
},
|
||||
configs = {
|
||||
path = {
|
||||
hl = {
|
||||
primary = "Define",
|
||||
},
|
||||
},
|
||||
git = {
|
||||
hl = {
|
||||
primary = "Function",
|
||||
},
|
||||
},
|
||||
diagnostics = {
|
||||
hl = {
|
||||
primary = "Statement",
|
||||
},
|
||||
},
|
||||
filetype_lsp = {
|
||||
hl = {
|
||||
primary = "String",
|
||||
},
|
||||
},
|
||||
},
|
||||
components = { -- Choose components and their location
|
||||
left = {
|
||||
"mode",
|
||||
"progress",
|
||||
-- "path",
|
||||
-- "git",
|
||||
},
|
||||
|
@ -244,11 +273,6 @@ return {
|
|||
"progress",
|
||||
},
|
||||
},
|
||||
spaces = {
|
||||
components = " ", -- string between components
|
||||
left = " ", -- string at the start of the line
|
||||
right = " ", -- string at the end of the line
|
||||
},
|
||||
sep = {
|
||||
hide = {
|
||||
first = false, -- hides the first separator
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue