[vim] Add the dracula colorscheme module
Modify the colors init script to handle it.
This commit is contained in:
parent
9810fa799e
commit
acaf6425d5
2 changed files with 9 additions and 2 deletions
|
@ -27,12 +27,17 @@ local function reloadColorscheme(colorschemeName)
|
|||
-- off for that.
|
||||
vim.g.termguicolors = not vim.env.TERM_PROGRAM == "Apple_Terminal"
|
||||
|
||||
if vim.g.colors_name == "witchhazel" then
|
||||
local themeName = vim.g.colors_name
|
||||
if themeName == nil then
|
||||
vim.cmd [[
|
||||
highlight! NormalFloat ctermbg=8
|
||||
]]
|
||||
elseif themeName == "witchhazel" then
|
||||
vim.cmd [[
|
||||
highlight! default link LineNr CursorLineNr
|
||||
highlight! default link CursorLineNr CursorLine
|
||||
]]
|
||||
elseif vim.g.colors_name == "dracula" then
|
||||
elseif themeName == "dracula" then
|
||||
vim.cmd [[
|
||||
highlight CursorLineNr guibg=#44475a
|
||||
]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue