Chore: moved lineNumberColors to Setup

This commit is contained in:
Ward Truyen
2025-07-07 22:26:23 +02:00
parent ce889c3d17
commit 3ed6529711
2 changed files with 20 additions and 20 deletions

View File

@@ -14,11 +14,3 @@ if vim.g.neovide then
vim.g.neovide_window_blurred = true
vim.o.guifont = "Source Code Pro:h14"
end
-- 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 })
end
LineNumberColors()

View File

@@ -1,6 +1,6 @@
vim.g.have_nerd_font = true -- use nerd_font
vim.opt.clipboard = 'unnamedplus' -- use system keyboard for yank
vim.opt.clipboard = "unnamedplus" -- use system keyboard for yank
vim.opt.nu = true -- set line numbers
vim.opt.relativenumber = true -- use relative line numbers
@@ -22,3 +22,11 @@ vim.opt.hlsearch = true
vim.opt.incsearch = true -- incremental search
vim.opt.termguicolors = true
-- 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 })
end
LineNumberColors()