Chore: moved lineNumberColors to Setup
This commit is contained in:
@@ -10,15 +10,7 @@ require("ward.lazy")
|
||||
|
||||
--$ Neovide configuration if used
|
||||
if vim.g.neovide then
|
||||
vim.g.neovide_opacity = 0.7
|
||||
vim.g.neovide_window_blurred = true
|
||||
vim.o.guifont = "Source Code Pro:h14"
|
||||
vim.g.neovide_opacity = 0.7
|
||||
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()
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
vim.g.have_nerd_font = true -- use nerd_font
|
||||
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
|
||||
vim.opt.nu = true -- set line numbers
|
||||
vim.opt.relativenumber = true -- use relative line numbers
|
||||
|
||||
-- set tab size to 2 spaces
|
||||
vim.opt.tabstop = 2
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user