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

@ -23,19 +23,19 @@ return {
move_wraps_at_ends = true, -- whether or not the move command "wraps" at the first or last position
separator_style = "slope",
-- ─< icons >───────────────────────────────────────────────────────────────────────────
modified_icon = "󱞇",
left_trunc_marker = "󰬩",
right_trunc_marker = "󰬫",
modified_icon = "󱞇 ",
left_trunc_marker = "󰬩 ",
right_trunc_marker = "󰬫 ",
themable = true, -- allows highlight groups to be overriden i.e. sets highlights as default
close_icon = "󱄊",
buffer_close_icon = "󱄊",
close_icon = "󱄊 ",
buffer_close_icon = "󱄊 ",
show_buffer_icons = true, -- disable filetype icons for buffers
show_buffer_close_icons = true,
show_close_icon = true,
show_tab_indicators = true,
hover = {
enabled = true,
delay = 80,
delay = 30,
reveal = { "close" },
hide = { "nvim_lsp" },
},
@ -217,6 +217,7 @@ return {
})
vim.notify = require("notify")
end,
vim.keymap.set("n", "<leader>tn", "<cmd>Telescope notify<CR>", { desc = "Telescope show Notifications" }),
},
-- ╭──────────────────────────────╮
-- │ slimline - nice bar for nvim │
@ -229,9 +230,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",
},
@ -245,11 +274,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
@ -293,8 +317,8 @@ return {
"folke/which-key.nvim",
event = "VeryLazy",
init = function()
vim.o.timeout = true
vim.o.timeoutlen = 350
vim.o.timeout = false
vim.o.timeoutlen = 0
end,
opts = {
-- your configuration comes here