feat: Updated lineNr colors

This commit is contained in:
Ward Truyen
2025-11-21 13:11:44 +01:00
parent b25bc2d63a
commit dec548e1d7
5 changed files with 6 additions and 6 deletions

View File

@@ -8,5 +8,6 @@ return {
config = function()
require("catppuccin").setup({})
vim.cmd.colorscheme("catppuccin")
LineNumberColors()
end,
}

View File

@@ -44,7 +44,7 @@ return {
},
filetypes = { "c", "cpp", "objc", "objcpp", "cuda", "proto", "hpp" },
init_options = {
fllbackFlags = { '-std=c++20' },
fallbackFlags = { '-std=c17' },
},
handlers = handlers,
})

View File

@@ -10,7 +10,6 @@ return {
"mason-org/mason.nvim",
config = function()
require("mason").setup()
vim.keymap.set("n", "<leader>xm", vim.cmd.Mason, { desc = "Mason" })
end,
},

View File

@@ -39,4 +39,4 @@ vim.keymap.set("n", "N", [[Nzz]])
vim.keymap.set({ "n", "x", "c", "v" }, "<C-S-C>", '"+y', { desc = "Copy system clipboard" }) -- ctrl+shift+c
vim.keymap.set({ "i", "c" }, "<C-S-V>", '<C-R>+', { desc = "Paste system clipboard" }) -- ctrl+shift+v
vim.keymap.set({ "n", "x" }, "<C-S-V>", '"+P', { desc = "Paste system clipboard" }) -- ctrl+shift+v
vim.keymap.set({ "n", "x", "c", "v" }, "<C-S>", vim.cmd.w) -- save=crtl+s
vim.keymap.set({ "i", "n", "x", "c", "v" }, "<C-S>", vim.cmd.w) -- save=crtl+s

View File

@@ -28,9 +28,9 @@ vim.opt.shell='/usr/bin/zsh'
-- Sets colors to line numbers Above, Current and Below in this order
function LineNumberColors()
vim.api.nvim_set_hl(0, "LineNrAbove", { fg = "#51B3EC", bold = true })
vim.api.nvim_set_hl(0, "LineNr", { fg = "white", bold = true })
vim.api.nvim_set_hl(0, "LineNrBelow", { fg = "#FB508F", bold = true })
vim.api.nvim_set_hl(0, "LineNrAbove", { fg = "#51B3EC", bold = false })
vim.api.nvim_set_hl(0, "LineNr", { fg = white, bold = true })
vim.api.nvim_set_hl(0, "LineNrBelow", { fg = "#FB508F", bold = false })
end
LineNumberColors()