mirror of
https://github.com/ishan9299/modus-theme-vim.git
synced 2026-09-10 06:36:15 -04:00
add intense cursorline option.
This commit is contained in:
parent
61c45a60ad
commit
a874ffe332
|
|
@ -11,6 +11,7 @@ local settings = {
|
|||
modus_yellow_comments = 0,
|
||||
modus_green_strings = 0,
|
||||
modus_termtrans_enable = 0,
|
||||
modus_cursorline_intense = 0,
|
||||
}
|
||||
|
||||
for key,val in pairs(settings) do
|
||||
|
|
@ -74,7 +75,11 @@ function M.core_highlights()
|
|||
syntax['lCursor'] = syntax['Cursor']
|
||||
syntax['CursorIM'] = syntax['Cursor']
|
||||
syntax['ColorColumn'] = {fg=colors.bg_main, bg=colors.bg_active}
|
||||
syntax['CursorLine'] = {fg=colors.none, bg=colors.bg_hl_line}
|
||||
if vim.g.modus_cursorline_intense == 0 then
|
||||
syntax['CursorLine'] = {fg=colors.none, bg=colors.bg_hl_line}
|
||||
else
|
||||
syntax['CursorLine'] = {fg=colors.none, bg=colors.bg_hl_line_intense}
|
||||
end
|
||||
syntax['Define'] = {fg=colors.fg_main}
|
||||
syntax['Delimiter'] = {fg=colors.fg_main}
|
||||
syntax['Float'] = {fg=colors.fg_main}
|
||||
|
|
@ -188,6 +193,7 @@ function M.core_highlights()
|
|||
syntax['nvimidentifier'] = syntax['Identifier']
|
||||
syntax['vimvar'] = syntax['Label']
|
||||
|
||||
-- TODO some options to highlight headers
|
||||
-- markdown
|
||||
syntax['markdownh1'] = {fg=colors.fg_main, bg=colors.magenta_nuanced_bg, style='bold'}
|
||||
syntax['markdownh2'] = {fg=colors.fg_special_warm, bg=colors.red_nuanced_bg, style='bold'}
|
||||
|
|
@ -547,6 +553,7 @@ function M.set_statusline()
|
|||
}
|
||||
end
|
||||
|
||||
-- TODO
|
||||
-- now try to use libuv to make it faster.
|
||||
M.core_highlights()
|
||||
M.set_terminal()
|
||||
|
|
|
|||
|
|
@ -127,8 +127,8 @@ function M.setup()
|
|||
cyan_nuanced_fg = {"#0f3360",22},
|
||||
bg_hl_line = {"#f2eff3",243},
|
||||
bg_hl_line_intense = {"#e0e0e0",225},
|
||||
bg_hl_alt = {"#fbeee0",250},
|
||||
bg_hl_alt_intense = {"#e8dfd1",232},
|
||||
-- bg_hl_alt = {"#fbeee0",250},
|
||||
-- bg_hl_alt_intense = {"#e8dfd1",232},
|
||||
bg_paren_match = {"#e0af82",216},
|
||||
bg_paren_match_intense = {"#c488ff",190},
|
||||
bg_region = {"#bcbcbc",189},
|
||||
|
|
|
|||
|
|
@ -127,8 +127,8 @@ function M.setup()
|
|||
cyan_nuanced_fg = {"#a8e5e5",179},
|
||||
bg_hl_line = {"#151823",21},
|
||||
bg_hl_line_intense = {"#2f2f2f",47},
|
||||
bg_hl_alt = {"#181732",24},
|
||||
bg_hl_alt_intense = {"#282e46",41},
|
||||
-- bg_hl_alt = {"#181732",24},
|
||||
-- bg_hl_alt_intense = {"#282e46",41},
|
||||
bg_paren_match = {"#5f362f",88},
|
||||
bg_paren_match_intense = {"#7416b5",105},
|
||||
bg_region = {"#3c3c3c",60},
|
||||
|
|
|
|||
Loading…
Reference in a new issue