highlight current line number

This commit is contained in:
siduck76 2021-04-08 07:38:29 +05:30
parent c62616cfee
commit 14f5e28374
2 changed files with 7 additions and 4 deletions

View File

@ -97,3 +97,6 @@ vim.api.nvim_exec([[
-- inactive statuslines as thin splitlines -- inactive statuslines as thin splitlines
cmd("highlight! StatusLineNC gui=underline guibg=NONE guifg=#383c44") cmd("highlight! StatusLineNC gui=underline guibg=NONE guifg=#383c44")
cmd "hi clear CursorLine"
cmd "hi cursorlinenr guibg=NONE guifg=#abb2bf"

View File

@ -14,6 +14,7 @@ opt("o", "splitright", true)
opt("o", "termguicolors", true) opt("o", "termguicolors", true)
opt("w", "number", true) opt("w", "number", true)
opt("o", "numberwidth", 2) opt("o", "numberwidth", 2)
opt("w", "cul", true)
opt("o", "mouse", "a") opt("o", "mouse", "a")
@ -27,7 +28,6 @@ opt("o", "clipboard", "unnamedplus")
opt("b", "expandtab", true) opt("b", "expandtab", true)
opt("b", "shiftwidth", 2) opt("b", "shiftwidth", 2)
local M = {} local M = {}
function M.is_buffer_empty() function M.is_buffer_empty()