|
|
@ -3,6 +3,9 @@ local M = {}
|
|
|
|
M.setup = function()
|
|
|
|
M.setup = function()
|
|
|
|
local config = require('neogruber').config
|
|
|
|
local config = require('neogruber').config
|
|
|
|
local c = require 'neogruber.palette'
|
|
|
|
local c = require 'neogruber.palette'
|
|
|
|
|
|
|
|
if config.light then
|
|
|
|
|
|
|
|
c = require 'neogruber.palette_light'
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
local groups = {
|
|
|
|
local groups = {
|
|
|
|
-- int, long, char, etc.
|
|
|
|
-- int, long, char, etc.
|
|
|
@ -90,7 +93,7 @@ M.setup = function()
|
|
|
|
htmlH5 = { fg = c.quartz, bold = config.bold },
|
|
|
|
htmlH5 = { fg = c.quartz, bold = config.bold },
|
|
|
|
|
|
|
|
|
|
|
|
cssAttributeSelector = { fg = c.light_blue },
|
|
|
|
cssAttributeSelector = { fg = c.light_blue },
|
|
|
|
cssSelectorOp = { fg = c.niagara1 },
|
|
|
|
cssSelectorOp = { fg = c.niagara_1 },
|
|
|
|
cssTagName = { fg = c.yellow },
|
|
|
|
cssTagName = { fg = c.yellow },
|
|
|
|
|
|
|
|
|
|
|
|
markdownBlockquote = { fg = c.bg6 },
|
|
|
|
markdownBlockquote = { fg = c.bg6 },
|
|
|
@ -158,7 +161,7 @@ M.setup = function()
|
|
|
|
-- Line number for ":number" and ":#" commands, and when 'number' or 'relativenumber' option is set.
|
|
|
|
-- Line number for ":number" and ":#" commands, and when 'number' or 'relativenumber' option is set.
|
|
|
|
LineNr = { fg = c.bg3 },
|
|
|
|
LineNr = { fg = c.bg3 },
|
|
|
|
-- Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line.
|
|
|
|
-- Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line.
|
|
|
|
CursorLineNr = { fg = c.yellow },
|
|
|
|
CursorLineNr = { fg = c.yellow, bold = true },
|
|
|
|
-- The character under the cursor or just before it, if it is a paired bracket, and its match. |pi_paren.txt|
|
|
|
|
-- The character under the cursor or just before it, if it is a paired bracket, and its match. |pi_paren.txt|
|
|
|
|
MatchParen = { fg = c.wisteria1, bg = c.none, bold = config.bold, underline = config.underline },
|
|
|
|
MatchParen = { fg = c.wisteria1, bg = c.none, bold = config.bold, underline = config.underline },
|
|
|
|
-- 'showmode' message (e.g., "-- INSERT -- ")
|
|
|
|
-- 'showmode' message (e.g., "-- INSERT -- ")
|
|
|
@ -290,6 +293,18 @@ M.setup = function()
|
|
|
|
['@storageclass'] = { link = 'StorageClass' },
|
|
|
|
['@storageclass'] = { link = 'StorageClass' },
|
|
|
|
['@variable.builtin'] = { fg = c.wisteria },
|
|
|
|
['@variable.builtin'] = { fg = c.wisteria },
|
|
|
|
['@variable'] = { fg = c.bg6 },
|
|
|
|
['@variable'] = { fg = c.bg6 },
|
|
|
|
|
|
|
|
['@text.title.1.marker.markdown'] = { link = 'markdownH1' },
|
|
|
|
|
|
|
|
['@text.title.2.marker.markdown'] = { link = 'markdownH2' },
|
|
|
|
|
|
|
|
['@text.title.3.marker.markdown'] = { link = 'markdownH3' },
|
|
|
|
|
|
|
|
['@text.title.4.marker.markdown'] = { link = 'markdownH4' },
|
|
|
|
|
|
|
|
['@text.title.5.marker.markdown'] = { link = 'markdownH5' },
|
|
|
|
|
|
|
|
['@text.title.6.marker.markdown'] = { link = 'markdownH6' },
|
|
|
|
|
|
|
|
['@text.title.1.markdown'] = { link = 'markdownH1' },
|
|
|
|
|
|
|
|
['@text.title.2.markdown'] = { link = 'markdownH2' },
|
|
|
|
|
|
|
|
['@text.title.3.markdown'] = { link = 'markdownH3' },
|
|
|
|
|
|
|
|
['@text.title.4.markdown'] = { link = 'markdownH4' },
|
|
|
|
|
|
|
|
['@text.title.5.markdown'] = { link = 'markdownH5' },
|
|
|
|
|
|
|
|
['@text.title.6.markdown'] = { link = 'markdownH6' },
|
|
|
|
['@text.title'] = { link = 'Title' },
|
|
|
|
['@text.title'] = { link = 'Title' },
|
|
|
|
['@text.uri'] = { link = 'Underlined' },
|
|
|
|
['@text.uri'] = { link = 'Underlined' },
|
|
|
|
['@text.todo'] = { link = 'Todo' },
|
|
|
|
['@text.todo'] = { link = 'Todo' },
|
|
|
@ -317,7 +332,7 @@ M.setup = function()
|
|
|
|
['@field'] = { fg = c.niagara },
|
|
|
|
['@field'] = { fg = c.niagara },
|
|
|
|
['@float'] = { fg = c.quartz },
|
|
|
|
['@float'] = { fg = c.quartz },
|
|
|
|
['@function'] = { link = 'Function' },
|
|
|
|
['@function'] = { link = 'Function' },
|
|
|
|
['@function.builtin'] = { fg = c.niagara1 },
|
|
|
|
['@function.builtin'] = { fg = c.niagara_1 },
|
|
|
|
['@function.macro'] = { fg = c.yellow },
|
|
|
|
['@function.macro'] = { fg = c.yellow },
|
|
|
|
['@include'] = { fg = c.quartz },
|
|
|
|
['@include'] = { fg = c.quartz },
|
|
|
|
['@label'] = { fg = c.yellow },
|
|
|
|
['@label'] = { fg = c.yellow },
|
|
|
@ -354,7 +369,7 @@ M.setup = function()
|
|
|
|
-- Virtual text "Error"
|
|
|
|
-- Virtual text "Error"
|
|
|
|
LspDiagnosticsVirtualTextError = { fg = c.red1 },
|
|
|
|
LspDiagnosticsVirtualTextError = { fg = c.red1 },
|
|
|
|
-- used to underline "Error" diagnostics.
|
|
|
|
-- used to underline "Error" diagnostics.
|
|
|
|
LspDiagnosticsUnderlineError = {},
|
|
|
|
LspDiagnosticsUnderlineError = { underline = config.underline },
|
|
|
|
-- used for "Warning" diagnostic signs in sign column
|
|
|
|
-- used for "Warning" diagnostic signs in sign column
|
|
|
|
LspDiagnosticsDefaultWarning = { fg = c.red_1 },
|
|
|
|
LspDiagnosticsDefaultWarning = { fg = c.red_1 },
|
|
|
|
-- used for "Warning" diagnostic signs in sign column
|
|
|
|
-- used for "Warning" diagnostic signs in sign column
|
|
|
@ -364,7 +379,7 @@ M.setup = function()
|
|
|
|
-- Virtual text "Warning"
|
|
|
|
-- Virtual text "Warning"
|
|
|
|
LspDiagnosticsVirtualTextWarning = { fg = c.red_1 },
|
|
|
|
LspDiagnosticsVirtualTextWarning = { fg = c.red_1 },
|
|
|
|
-- used to underline "Warning" diagnostics.
|
|
|
|
-- used to underline "Warning" diagnostics.
|
|
|
|
LspDiagnosticsUnderlineWarning = {},
|
|
|
|
LspDiagnosticsUnderlineWarning = { underline = config.underline },
|
|
|
|
-- used for "Information" diagnostic virtual text
|
|
|
|
-- used for "Information" diagnostic virtual text
|
|
|
|
LspDiagnosticsDefaultInformation = { fg = c.yellow },
|
|
|
|
LspDiagnosticsDefaultInformation = { fg = c.yellow },
|
|
|
|
-- used for "Information" diagnostic signs in sign column
|
|
|
|
-- used for "Information" diagnostic signs in sign column
|
|
|
@ -374,7 +389,7 @@ M.setup = function()
|
|
|
|
-- Virtual text "Information"
|
|
|
|
-- Virtual text "Information"
|
|
|
|
LspDiagnosticsVirtualTextInformation = { fg = c.yellow },
|
|
|
|
LspDiagnosticsVirtualTextInformation = { fg = c.yellow },
|
|
|
|
-- used to underline "Information" diagnostics.
|
|
|
|
-- used to underline "Information" diagnostics.
|
|
|
|
LspDiagnosticsUnderlineInformation = {},
|
|
|
|
LspDiagnosticsUnderlineInformation = { underline = config.underline },
|
|
|
|
-- used for "Hint" diagnostic virtual text
|
|
|
|
-- used for "Hint" diagnostic virtual text
|
|
|
|
LspDiagnosticsDefaultHint = { fg = c.wisteria },
|
|
|
|
LspDiagnosticsDefaultHint = { fg = c.wisteria },
|
|
|
|
-- used for "Hint" diagnostic signs in sign column
|
|
|
|
-- used for "Hint" diagnostic signs in sign column
|
|
|
@ -384,7 +399,7 @@ M.setup = function()
|
|
|
|
-- Virtual text "Hint"
|
|
|
|
-- Virtual text "Hint"
|
|
|
|
LspDiagnosticsVirtualTextHint = { fg = c.wisteria },
|
|
|
|
LspDiagnosticsVirtualTextHint = { fg = c.wisteria },
|
|
|
|
-- used to underline "Hint" diagnostics.
|
|
|
|
-- used to underline "Hint" diagnostics.
|
|
|
|
LspDiagnosticsUnderlineHint = {},
|
|
|
|
LspDiagnosticsUnderlineHint = { underline = config.underline },
|
|
|
|
-- used for highlighting "text" references
|
|
|
|
-- used for highlighting "text" references
|
|
|
|
LspReferenceText = {},
|
|
|
|
LspReferenceText = {},
|
|
|
|
-- used for highlighting "read" references
|
|
|
|
-- used for highlighting "read" references
|
|
|
@ -502,7 +517,7 @@ M.setup = function()
|
|
|
|
TreesitterContext = { fg = c.none, bg = c.bg1 },
|
|
|
|
TreesitterContext = { fg = c.none, bg = c.bg1 },
|
|
|
|
|
|
|
|
|
|
|
|
-- Indent Blankline
|
|
|
|
-- Indent Blankline
|
|
|
|
IndentBlanklineChar = { fg = c.niagara_2 },
|
|
|
|
IndentBlanklineChar = { fg = c.niagara_1 },
|
|
|
|
IndentBlanklineSpaceChar = { fg = c.bg5 },
|
|
|
|
IndentBlanklineSpaceChar = { fg = c.bg5 },
|
|
|
|
IndentBlanklineSpaceCharBlankline = { fg = c.bg5 },
|
|
|
|
IndentBlanklineSpaceCharBlankline = { fg = c.bg5 },
|
|
|
|
IndentBlanklineContextChar = { fg = c.wisteria1 },
|
|
|
|
IndentBlanklineContextChar = { fg = c.wisteria1 },
|
|
|
@ -517,6 +532,8 @@ M.setup = function()
|
|
|
|
HopNextKey1 = { fg = c.light_blue },
|
|
|
|
HopNextKey1 = { fg = c.light_blue },
|
|
|
|
HopNextKey2 = { fg = c.wisteria1 },
|
|
|
|
HopNextKey2 = { fg = c.wisteria1 },
|
|
|
|
HopUnmatched = { fg = c.bg5 },
|
|
|
|
HopUnmatched = { fg = c.bg5 },
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BufferManagerModified = { fg = c.yellow },
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
--[[ for group, hl in pairs(config.overrides) do
|
|
|
|
--[[ for group, hl in pairs(config.overrides) do
|
|
|
|