diff options
Diffstat (limited to '.config/nvim/lua/general.lua')
-rw-r--r-- | .config/nvim/lua/general.lua | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.config/nvim/lua/general.lua b/.config/nvim/lua/general.lua index 79bdf67..03b01e7 100644 --- a/.config/nvim/lua/general.lua +++ b/.config/nvim/lua/general.lua @@ -11,7 +11,7 @@ vim.opt.wrap = false vim.opt.colorcolumn = "120" vim.opt.scrolloff = 5 vim.opt.spelllang = "en,nb" -vim.opt.cursorline = false +vim.opt.cursorline = true -- vim.opt.tabstop = 4 -- vim.opt.softtabstop = -1 @@ -40,6 +40,12 @@ vim.opt.listchars:append("tab:-->") vim.cmd [[colorscheme dracula]] vim.cmd [[hi Normal guibg=NONE ctermbg=NONE]] +vim.cmd [[highlight CursorLine ctermbg=none guibg=#0f0f0f gui=NONE cterm=NONE]] +vim.cmd [[augroup CursorLineTransparency + autocmd! + autocmd ColorScheme * highlight CursorLine guibg=#0f0f0f ctermbg=none +augroup END]] + vim.opt.spell = false vim.g.markdown_fenced_languages = { |