style: minor styling fixes

This commit is contained in:
2025-11-18 12:07:16 +01:00
parent 1d314be9ea
commit b338a12439
4 changed files with 76 additions and 77 deletions

View File

@@ -25,7 +25,7 @@ vim.o.sessionoptions = "blank,buffers,curdir,folds,help,tabpages,winsize,winpos,
-- ╭─────────────╮ -- ╭─────────────╮
-- │ Colorscheme │ -- │ Colorscheme │
-- ╰─────────────╯ -- ╰─────────────╯
vim.cmd("colorscheme gruvbox") -- rose-pine vim.cmd("colorscheme gruvbox") -- rose-pine, gruvbox
vim.o.background = "dark" -- "dark" or "light" vim.o.background = "dark" -- "dark" or "light"
-- ╭───────────────────╮ -- ╭───────────────────╮
@@ -52,5 +52,3 @@ vim.fn.sign_define("DiagnosticSignError", { text = " ", texthl = "DiagnosticS
vim.fn.sign_define("DiagnosticSignWarn", { text = "", texthl = "DiagnosticSignWarn" }) vim.fn.sign_define("DiagnosticSignWarn", { text = "", texthl = "DiagnosticSignWarn" })
vim.fn.sign_define("DiagnosticSignInfo", { text = "", texthl = "DiagnosticSignInfo" }) vim.fn.sign_define("DiagnosticSignInfo", { text = "", texthl = "DiagnosticSignInfo" })
vim.fn.sign_define("DiagnosticSignHint", { text = "󰌵", texthl = "DiagnosticSignHint" }) vim.fn.sign_define("DiagnosticSignHint", { text = "󰌵", texthl = "DiagnosticSignHint" })
vim.cmd("set noexpandtab") -- expandtab to use spaces instead of tabs

View File

@@ -8,6 +8,7 @@
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" }, "diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
"friendly-snippets": { "branch": "main", "commit": "efff286dd74c22f731cdec26a70b46e5b203c619" }, "friendly-snippets": { "branch": "main", "commit": "efff286dd74c22f731cdec26a70b46e5b203c619" },
"gitsigns.nvim": { "branch": "main", "commit": "d8918f06624dd53b9a82bd0e29c31bcfd541b40d" }, "gitsigns.nvim": { "branch": "main", "commit": "d8918f06624dd53b9a82bd0e29c31bcfd541b40d" },
"gruvbox-material.nvim": { "branch": "master", "commit": "5de287d8fff70ee73a706c3c95a82f2060741b3e" },
"gruvbox.nvim": { "branch": "main", "commit": "5e0a460d8e0f7f669c158dedd5f9ae2bcac31437" }, "gruvbox.nvim": { "branch": "main", "commit": "5e0a460d8e0f7f669c158dedd5f9ae2bcac31437" },
"indent-blankline.nvim": { "branch": "master", "commit": "e10626f7fcd51ccd56d7ffc00883ba7e0aa28f78" }, "indent-blankline.nvim": { "branch": "master", "commit": "e10626f7fcd51ccd56d7ffc00883ba7e0aa28f78" },
"lazy.nvim": { "branch": "main", "commit": "7e6c863bc7563efbdd757a310d17ebc95166cef3" }, "lazy.nvim": { "branch": "main", "commit": "7e6c863bc7563efbdd757a310d17ebc95166cef3" },

View File

@@ -85,8 +85,8 @@ return {
scope = { scope = {
char = "", char = "",
enabled = true, enabled = true,
show_start = true, show_start = false,
show_end = true, show_end = false,
highlight = { "Function", "Label" }, highlight = { "Function", "Label" },
priority = 500, priority = 500,
exclude = { language = { "css" } }, exclude = { language = { "css" } },

View File

@@ -2,83 +2,83 @@
-- │ Styling │ -- │ Styling │
-- ╰─────────╯ -- ╰─────────╯
return { return {
-- { -- {
-- -- dir = "~/Documents/Code/plain-colors.nvim", -- -- dir = "~/Documents/Code/plain-colors.nvim",
-- -- "rose-pine/neovim", -- -- "rose-pine/neovim",
-- name = "rose-pine", -- name = "rose-pine",
-- opts = { -- opts = {
-- variant = "darker", -- dark, light, darker | dawn -- variant = "darker", -- dark, light, darker | dawn
-- }, -- },
-- }, -- },
{ {
"ellisonleao/gruvbox.nvim", "ellisonleao/gruvbox.nvim",
priority = 1000, priority = 1000,
config = true, config = true,
opts = { opts = {
terminal_colors = true, -- add neovim terminal colors terminal_colors = true, -- add neovim terminal colors
undercurl = true, undercurl = true,
underline = true, underline = true,
bold = true, bold = true,
italic = { italic = {
strings = true, strings = true,
emphasis = true, emphasis = true,
comments = true, comments = true,
operators = false, operators = false,
folds = true, folds = true,
}, },
strikethrough = true, strikethrough = true,
invert_selection = false, invert_selection = false,
invert_signs = false, invert_signs = false,
invert_tabline = false, invert_tabline = false,
inverse = true, -- invert background for search, diffs, statuslines and errors inverse = true, -- invert background for search, diffs, statuslines and errors
contrast = "", -- can be "hard", "soft" or empty string contrast = "", -- can be "hard", "soft" or empty string
palette_overrides = {}, palette_overrides = {},
overrides = {}, overrides = {},
dim_inactive = false, dim_inactive = false,
transparent_mode = false, transparent_mode = false,
} }
}, },
{ "echasnovski/mini.icons" }, { "echasnovski/mini.icons" },
{ {
"folke/noice.nvim", "folke/noice.nvim",
event = "VeryLazy", event = "VeryLazy",
opts = function() opts = function()
return require("plugins.opts.noice") return require("plugins.opts.noice")
end, end,
dependencies = { dependencies = {
"MunifTanjim/nui.nvim", "MunifTanjim/nui.nvim",
-- OPTIONAL: -- OPTIONAL:
-- `nvim-notify` is only needed, if you want to use the notification view. -- `nvim-notify` is only needed, if you want to use the notification view.
-- If not available, we use `mini` as the fallback -- If not available, we use `mini` as the fallback
-- "rcarriga/nvim-notify", -- "rcarriga/nvim-notify",
}, },
}, },
{ {
"shortcuts/no-neck-pain.nvim", "shortcuts/no-neck-pain.nvim",
version = "*", version = "*",
}, },
{ {
"sphamba/smear-cursor.nvim", "sphamba/smear-cursor.nvim",
opts = { opts = {
smear_between_buffers = false, smear_between_buffers = false,
smear_between_neighbor_lines = true, smear_between_neighbor_lines = true,
scroll_buffer_space = true, scroll_buffer_space = true,
-- Set to `true` if your font supports legacy computing symbols (block unicode symbols). -- Set to `true` if your font supports legacy computing symbols (block unicode symbols).
legacy_computing_symbols_support = false, legacy_computing_symbols_support = false,
smear_insert_mode = true, smear_insert_mode = true,
-- fast smear -- fast smear
stiffness = 0.8, -- 0.6 [0, 1] stiffness = 0.8, -- 0.6 [0, 1]
trailing_stiffness = 0.5, -- 0.4 [0, 1] trailing_stiffness = 0.5, -- 0.4 [0, 1]
stiffness_insert_mode = 0.6, -- 0.4 [0, 1] stiffness_insert_mode = 0.6, -- 0.4 [0, 1]
trailing_stiffness_insert_mode = 0.6, -- 0.4 [0, 1] trailing_stiffness_insert_mode = 0.6, -- 0.4 [0, 1]
distance_stop_animating = 0.5, -- 0.1 > 0 distance_stop_animating = 0.5, -- 0.1 > 0
}, },
}, },
} }