add highlights to statusline mode

This commit is contained in:
2023-12-05 16:01:57 -05:00
parent 6f72d76da2
commit 441e8f019b

View File

@ -20,22 +20,22 @@ end
local modes = {
-- display name, mode, highlight group
n = { "Normal", "N" },
niI = { "Normal", "N" },
niR = { "Normal", "N" },
niV = { "Normal", "N" },
n = { "Normal", "N", hl("@neorg.headings.1.title") },
niI = { "Normal", "N", hl("@neorg.headings.1.title") },
niR = { "Normal", "N", hl("@neorg.headings.1.title") },
niV = { "Normal", "N", hl("@neorg.headings.1.title") },
no = { "N·OpPd", "?" },
v = { "Visual", "V" },
V = { "V·Line", "Vl" },
[""] = { "V·Block", "Vb" },
v = { "Visual", "V", hl("@neorg.headings.2.title") },
V = { "V·Line", "Vl", hl("@neorg.headings.2.title") },
[""] = { "V·Block", "Vb", hl("@neorg.headings.2.title") },
s = { "Select", "S" },
S = { "S·Line", "Sl" },
[""] = { "S·Block", "Sb" },
i = { "Insert", "I" },
i = { "Insert", "I", hl("@neorg.headings.4.title") },
ic = { "ICompl", "Ic" },
R = { "Replace", "R" },
Rv = { "VReplace", "Rv" },
c = { "Command", "C", hl("DiagnosticHint")},
R = { "Replace", "R", hl("@neorg.headings.5.title") },
Rv = { "VReplace", "Rv", hl("@neorg.headings.5.title") },
c = { "Command", "C", hl("@neorg.headings.3.title") },
cv = { "Vim Ex", "E" },
ce = { "Ex (r)", "E" },
r = { "Prompt", "P" },