|
|
@ -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 -- ")
|
|
|
@ -317,7 +320,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 +357,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 +367,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 +377,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 +387,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 +505,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 },
|
|
|
|