fixes config highlighting
This commit is contained in:
parent
5d5f662b11
commit
05df3e52a4
2 changed files with 5 additions and 6 deletions
|
|
@ -200,6 +200,7 @@ hi("@lsp.type.method", { link = "Function" })
|
||||||
hi("@lsp.type.namespace", { link = "Structure" })
|
hi("@lsp.type.namespace", { link = "Structure" })
|
||||||
hi("@lsp.type.parameter", { link = "Identifier" })
|
hi("@lsp.type.parameter", { link = "Identifier" })
|
||||||
hi("@lsp.type.property", { link = "Identifier" })
|
hi("@lsp.type.property", { link = "Identifier" })
|
||||||
|
hi("@lsp.type.property.typescript", { fg = palette.silver, ctermfg = "White" })
|
||||||
hi("@lsp.type.struct", { link = "Structure" })
|
hi("@lsp.type.struct", { link = "Structure" })
|
||||||
hi("@lsp.type.type", { link = "Type" })
|
hi("@lsp.type.type", { link = "Type" })
|
||||||
hi("@lsp.type.typeParameter", { link = "TypeDef" })
|
hi("@lsp.type.typeParameter", { link = "TypeDef" })
|
||||||
|
|
@ -208,7 +209,6 @@ hi("@lsp.typemod.keyword.documentation", { fg = palette.grey, bold = true })
|
||||||
|
|
||||||
if vim.o.background == "light" then
|
if vim.o.background == "light" then
|
||||||
-- TODO: Define light scheme
|
-- TODO: Define light scheme
|
||||||
-- @todo: dksljfksdlf
|
|
||||||
else
|
else
|
||||||
-- Default colors only used with a dark background.
|
-- Default colors only used with a dark background.
|
||||||
hi("ColorColumn", { bg = palette.red_subtle_bg, ctermbg = "DarkRed" })
|
hi("ColorColumn", { bg = palette.red_subtle_bg, ctermbg = "DarkRed" })
|
||||||
|
|
@ -277,10 +277,10 @@ else
|
||||||
hi("Unused", { fg = palette.grey_bright, undercurl = true, ctermfg = "LightGrey" })
|
hi("Unused", { fg = palette.grey_bright, undercurl = true, ctermfg = "LightGrey" })
|
||||||
hi("Constant", { fg = palette.yellow_brighter, ctermfg = "LightYellow" })
|
hi("Constant", { fg = palette.yellow_brighter, ctermfg = "LightYellow" })
|
||||||
hi("Special", { fg = palette.silver, ctermfg = "LightGrey" })
|
hi("Special", { fg = palette.silver, ctermfg = "LightGrey" })
|
||||||
hi("Identifier", { fg = palette.fg, bold = true, ctermfg = "White", cterm = { bold = true } })
|
hi("Identifier", { fg = palette.fg, ctermfg = "White", cterm = { bold = true } })
|
||||||
hi("Statement", { fg = palette.fg_alt, italic = true, ctermfg = "White" })
|
hi("Statement", { fg = palette.fg_alt, bold = true, ctermfg = "White" })
|
||||||
hi("PreProc", { fg = palette.magenta, ctermfg = "LightMagenta" })
|
hi("PreProc", { fg = palette.magenta, ctermfg = "LightMagenta" })
|
||||||
hi("Type", { fg = palette.silver, bold = true, ctermfg = "LightCyan" })
|
hi("Type", { fg = palette.fg, italic = true, ctermfg = "LightCyan" })
|
||||||
hi("Underlined", { fg = palette.silver, underline = true, ctermfg = "LightGrey", cterm = { underline = true } })
|
hi("Underlined", { fg = palette.silver, underline = true, ctermfg = "LightGrey", cterm = { underline = true } })
|
||||||
hi("Ignore", { fg = palette.bg, ctermfg = "Black" })
|
hi("Ignore", { fg = palette.bg, ctermfg = "Black" })
|
||||||
hi(
|
hi(
|
||||||
|
|
@ -309,7 +309,7 @@ else
|
||||||
hi("NeogitDiffAdd", { link = "DiffAdd" })
|
hi("NeogitDiffAdd", { link = "DiffAdd" })
|
||||||
hi("NeogitDiffDelete", { link = "DiffDelete" })
|
hi("NeogitDiffDelete", { link = "DiffDelete" })
|
||||||
hi("NeogitDiffContext", { bg = palette.bg_secondary, fg = palette.fg })
|
hi("NeogitDiffContext", { bg = palette.bg_secondary, fg = palette.fg })
|
||||||
hi("NeogitDiffContextCursor", { bg = palette.grey_bright, fg = palette.bg_secondary })
|
hi("NeogitDiffContextCursor", { bg = palette.magenta_subtle_bg_darker, fg = palette.magenta_brighter })
|
||||||
hi("NeogitDiffAddCursor", { bg = palette.green_bright, fg = palette.green_subtle_bg })
|
hi("NeogitDiffAddCursor", { bg = palette.green_bright, fg = palette.green_subtle_bg })
|
||||||
hi("NeogitDiffDeleteCursor", { bg = palette.red_bright, fg = palette.red_subtle_bg })
|
hi("NeogitDiffDeleteCursor", { bg = palette.red_bright, fg = palette.red_subtle_bg })
|
||||||
hi("NeogitDiffContextHighlight", { link = "NeogitDiffContext" })
|
hi("NeogitDiffContextHighlight", { link = "NeogitDiffContext" })
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@ return {
|
||||||
"bash",
|
"bash",
|
||||||
"c",
|
"c",
|
||||||
"css",
|
"css",
|
||||||
"comment",
|
|
||||||
"diff",
|
"diff",
|
||||||
"html",
|
"html",
|
||||||
"javascript",
|
"javascript",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue