Skip to content

Highlight Groups ​

Complete reference for SilkCircuit highlight group mappings.

Syntax Highlights ​

Core Groups ​

GroupColorStyleDescription
KeywordPurpleBoldControl flow, keywords
FunctionCyanBold, ItalicFunction names
StringPink SoftItalicString literals
NumberCoralNoneNumeric values
BooleanPinkNonetrue/false
TypeYellowNoneType names
CommentCommentItalicComments
OperatorForegroundNoneOperators
IdentifierForegroundNoneVariables

Extended Syntax ​

GroupColorDescription
@keywordPurpleTreesitter keywords
@functionCyanTreesitter functions
@function.callCyanFunction calls
@methodCyanMethod names
@parameterForegroundFunction parameters
@variableForegroundVariables
@propertyCyan BrightProperties
@fieldCyan BrightFields
@constantCoralConstants
@stringPink SoftStrings
@numberCoralNumbers
@booleanPinkBooleans
@typeYellowTypes
@namespaceYellowNamespaces
@tagPinkHTML/XML tags
@attributePurpleAttributes
@punctuationForegroundPunctuation
@commentCommentComments

Editor Highlights ​

General ​

GroupDescription
NormalDefault text
NormalFloatFloating windows
NormalNCNon-current windows
VisualVisual selection
SearchSearch matches
IncSearchIncremental search
CursorLineCurrent line
CursorColumnCurrent column
LineNrLine numbers
CursorLineNrCurrent line number
SignColumnSign column

Popups & Windows ​

GroupDescription
PmenuPopup menu
PmenuSelSelected popup item
PmenuSbarScrollbar
PmenuThumbScrollbar thumb
FloatBorderFloating window border
WinSeparatorWindow separators

Diff ​

GroupColorDescription
DiffAddGreenAdded lines
DiffChangeBlueChanged lines
DiffDeleteRedDeleted lines
DiffTextYellowChanged text

Diagnostics ​

GroupColorDescription
DiagnosticErrorRedErrors
DiagnosticWarnYellowWarnings
DiagnosticInfoBlueInfo
DiagnosticHintCyanHints
DiagnosticUnderlineErrorRed underlineError underline
DiagnosticUnderlineWarnYellow underlineWarning underline
DiagnosticUnderlineInfoBlue underlineInfo underline
DiagnosticUnderlineHintCyan underlineHint underline

Git Highlights ​

GroupColorDescription
GitSignsAddGreenAdded lines
GitSignsChangeBlueChanged lines
GitSignsDeleteRedDeleted lines
diffAddedGreenDiff added
diffChangedBlueDiff changed
diffRemovedRedDiff removed

LSP Highlights ​

GroupDescription
LspReferenceReadRead references
LspReferenceWriteWrite references
LspReferenceTextText references
LspSignatureActiveParameterActive parameter
LspCodeLensCode lens

Plugin Highlights ​

Telescope ​

GroupDescription
TelescopeBorderBorder
TelescopePromptBorderPrompt border
TelescopeResultsBorderResults border
TelescopePreviewBorderPreview border
TelescopeSelectionSelected item
TelescopeMatchingMatched characters

Neo-tree ​

GroupDescription
NeoTreeNormalNormal text
NeoTreeDirectoryIconDirectory icons
NeoTreeDirectoryNameDirectory names
NeoTreeFileNameFile names
NeoTreeGitAddedGit added
NeoTreeGitModifiedGit modified
NeoTreeGitDeletedGit deleted

nvim-cmp ​

GroupDescription
CmpItemAbbrMatchMatched text
CmpItemAbbrMatchFuzzyFuzzy matches
CmpItemKindFunctionFunction kind
CmpItemKindMethodMethod kind
CmpItemKindVariableVariable kind
CmpItemKindKeywordKeyword kind

Customizing Highlights ​

Override Specific Groups ​

lua
require("silkcircuit").setup({
  on_highlights = function(hl, colors)
    hl.Function = { fg = colors.cyan, bold = true, italic = true }
    hl.Comment = { fg = colors.comment, italic = true }
  end,
})

Add New Groups ​

lua
require("silkcircuit").setup({
  on_highlights = function(hl, colors)
    hl.MyCustomGroup = { fg = "#ff00ff", bg = "#000000" }
  end,
})

Query Current Highlights ​

vim
:hi Function
:hi Comment

View All Highlights ​

vim
:so $VIMRUNTIME/syntax/hitest.vim