Skip to content
Raidou edited this page Jan 28, 2022 · 10 revisions

Highlight

Custom highlight example

autocmd ColorScheme *
  \ hi CocExplorerNormalFloatBorder guifg=#414347 guibg=#272B34
  \ | hi CocExplorerNormalFloat guibg=#272B34
  \ | hi CocExplorerSelectUI guibg=blue

Floating window

Group name Link to Description
CocExplorerNormalFloat NormalFloat floating window background
CocExplorerNormalFloatBorder CocExplorerNormalFloat floating window border

Other

Group name Link to Description
CocExplorerSelectUI highlight for select UI on statusline
CocExplorerOmitSymbol SpecialComment
CocExplorerLabel Label floating labeling attributes

Source common

Group name Link to Description
CocExplorerTimeAccessed Identifier
CocExplorerTimeModified Identifier
CocExplorerTimeCreated Identifier
CocExplorerIndentLine Comment

Buffer

Group name Link to Description
CocExplorerBufferRoot Constant
CocExplorerBufferExpandIcon Directory
CocExplorerBufferNameVisible String
CocExplorerBufferBufname Comment
CocExplorerBufferModified Operator
CocExplorerBufferBufnr Special
CocExplorerBufferReadonly Operator
CocExplorerBufferFullpath Comment

File

Group name Link to Description
CocExplorerFileRoot Constant
CocExplorerFileRootName Identifier
CocExplorerFileExpandIcon Directory
CocExplorerFileFullpath Comment
CocExplorerFileFilename Normal
CocExplorerFileDirectory Directory
CocExplorerFileDirectoryExpanded CocExplorerFileDirectory
CocExplorerFileDirectoryCollapsed CocExplorerFileDirectory
CocExplorerFileLinkTarget Comment
CocExplorerFileClip Statement
CocExplorerFileSize Constant
CocExplorerFileReadonly Operator
CocExplorerFileModified Operator
CocExplorerFileDiagnosticError CocErrorSign
CocExplorerFileDiagnosticWarning CocWarningSign
CocExplorerFileFilenameDiagnosticError CocErrorSign
CocExplorerFileFilenameDiagnosticWarning CocWarningSign

Git Colors

Group name Link to Description
CocExplorerGitPathChange
CocExplorerGitContentChange
CocExplorerGitRenamed CocExplorerGitPathChange
CocExplorerGitCopied CocExplorerGitPathChange
CocExplorerGitAdded CocExplorerGitPathChange
CocExplorerGitUntracked CocExplorerGitPathChange
CocExplorerGitUnmodified CocExplorerGitPathChange
CocExplorerGitUnmerged CocExplorerGitPathChange
CocExplorerGitMixed CocExplorerGitContentChange
CocExplorerGitModified CocExplorerGitContentChange
CocExplorerGitDeleted
CocExplorerGitIgnored

Bookmark

Group name Link to Description
CocExplorerBookmarkRoot Constant
CocExplorerBookmarkExpandIcon Directory
CocExplorerBookmarkFilename String
CocExplorerBookmarkFullpath Special
CocExplorerBookmarkPosition Comment
CocExplorerBookmarkLine
CocExplorerBookmarkAnnotation Comment

Help

Group name Link to Description
CocExplorerHelpLine Operator
CocExplorerHelpHint Comment
CocExplorerHelpTitle Boolean
CocExplorerHelpSubTitle Label
CocExplorerHelpMappingKey PreProc
CocExplorerHelpAction Identifier
CocExplorerHelpColumn Identifier
CocExplorerHelpArg Identifier
CocExplorerHelpDescription Comment
CocExplorerHelpConditional Conditional
Clone this wiki locally