2020-07-03 16:46:09 +02:00
|
|
|
lua << EOF
|
|
|
|
--[[ Build using Highlite, a Neovim colorscheme template.
|
|
|
|
* Author: Iron-E (https://github.com/Iron-E)
|
2020-07-29 09:54:20 +02:00
|
|
|
* Repository: https://github.com/Iron-E/nvim-highlite
|
2020-07-03 16:46:09 +02:00
|
|
|
|
|
|
|
Rewrite of RNB, a Vim colorsheme template.
|
|
|
|
* Author: Romain Lafourcade (https://github.com/romainl)
|
|
|
|
* Canonical URL: https://github.com/romainl/vim-rnb
|
|
|
|
|
|
|
|
Yolokai colorscheme based on monokai/molokai with minor changes
|
|
|
|
* Background is completely black. No washed out greyish backgrounds
|
|
|
|
* Comment highlight is slightly different
|
|
|
|
* Slightly different colors for errors, floating windows, quickfix
|
|
|
|
line selection and such
|
|
|
|
* Author: Sanchayan Maity (https://gitlab.com/SanchayanMaity)
|
|
|
|
]]
|
|
|
|
|
|
|
|
vim.g.colors_name = 'yolokai'
|
|
|
|
|
2021-01-22 06:22:46 +01:00
|
|
|
local white = { '#DOBFA1', 252, 'white' }
|
2020-11-21 07:01:25 +01:00
|
|
|
local white2 = { '#d8d8d3', 250, 'white2' }
|
|
|
|
local black = { '#000000', 234, 'black' }
|
|
|
|
local lightblack = { '#2D2E27', 235, 'lightblack' }
|
2020-07-03 16:46:09 +02:00
|
|
|
local lightblack2 = { '#383a3e', 236, 'lightblack2' }
|
|
|
|
local lightblack3 = { '#3f4145', 237, 'lightblack3' }
|
2020-11-21 07:01:25 +01:00
|
|
|
local darkblack = { '#211F1C', 233, 'darkblack' }
|
|
|
|
local grey = { '#8F908A', 243, 'grey' }
|
|
|
|
local lightgrey = { '#575b61', 237, 'lightgrey' }
|
|
|
|
local darkgrey = { '#64645e', 239, 'darkgrey' }
|
|
|
|
local warmgrey = { '#A6A185', 59, 'warmgrey' }
|
|
|
|
|
|
|
|
local pink = { '#F92772', 197, 'pink' }
|
|
|
|
local green = { '#A6E22D', 148, 'green' }
|
2020-07-03 16:46:09 +02:00
|
|
|
local darkgreen = { '#50de60', 83, 'darkgreen' }
|
2020-11-21 07:01:25 +01:00
|
|
|
local aqua = { '#66d9ef', 81, 'aqua' }
|
|
|
|
local yellow = { '#E6DB74', 186, 'yellow' }
|
|
|
|
local orange = { '#FD9720', 208, 'orange' }
|
|
|
|
local purple = { '#ae81ff', 141, 'purple' }
|
|
|
|
local red = { '#e73c50', 196, 'red' }
|
|
|
|
local purered = { '#ff0000', 52, 'purered' }
|
|
|
|
local darkred = { '#5f0000', 52, 'darkred' }
|
2020-07-03 16:46:09 +02:00
|
|
|
|
|
|
|
--[[ DO NOT EDIT `BG`, `FG`, or `NONE`.
|
|
|
|
Feel free to uncomment `BG`. It is not used by default so it is commented out.
|
|
|
|
]]
|
|
|
|
local BG = 'bg'
|
|
|
|
local FG = 'fg'
|
|
|
|
local NONE = 'NONE'
|
|
|
|
|
|
|
|
--[[ These are the ones you should edit. ]]
|
|
|
|
-- This is the only highlight that must be defined separately.
|
|
|
|
local highlight_group_normal = {bg=black, fg=white, style=NONE}
|
|
|
|
|
|
|
|
-- This is where the rest of your highlights should go.
|
|
|
|
local highlight_groups = {
|
|
|
|
--[[ 4.1. Text Analysis ]]
|
|
|
|
Comment = {bg=NONE, fg=warmgrey, style='italic'},
|
2020-09-09 13:29:28 +02:00
|
|
|
EndOfBuffer = 'NonText',
|
2020-07-03 16:46:09 +02:00
|
|
|
NonText = {bg=NONE, fg=lightgrey, style=NONE },
|
2020-09-09 13:29:28 +02:00
|
|
|
Whitespace = 'NonText',
|
2020-07-03 16:46:09 +02:00
|
|
|
|
|
|
|
--[[ 4.1.1. Literals]]
|
|
|
|
Constant = {bg=NONE, fg=purple, style=NONE},
|
|
|
|
String = {bg=NONE, fg=yellow, style=NONE},
|
|
|
|
Character = {bg=NONE, fg=yellow, style=NONE},
|
|
|
|
Number = {bg=NONE, fg=purple, style=NONE},
|
|
|
|
Boolean = {bg=NONE, fg=purple, style=NONE},
|
2020-09-09 13:29:28 +02:00
|
|
|
Float = 'Number',
|
2020-07-03 16:46:09 +02:00
|
|
|
|
|
|
|
--[[ 4.1.2. Identifiers]]
|
|
|
|
Identifier = {bg=NONE, fg=green, style=NONE},
|
2021-01-04 11:28:19 +01:00
|
|
|
Function = {bg=NONE, fg=darkgreen, style=NONE},
|
2020-07-03 16:46:09 +02:00
|
|
|
|
|
|
|
--[[ 4.1.3. Syntax]]
|
|
|
|
Statement = {bg=NONE, fg=pink, style=NONE },
|
|
|
|
Conditional = {bg=NONE, fg=pink, style='italic'},
|
2020-09-09 13:29:28 +02:00
|
|
|
Repeat = 'Keyword',
|
2020-07-03 16:46:09 +02:00
|
|
|
Label = {bg=NONE, fg=pink, style='italic'},
|
|
|
|
Operator = {bg=NONE, fg=pink, style=NONE },
|
|
|
|
Keyword = {bg=NONE, fg=pink, style='bold' },
|
|
|
|
Exception = {bg=NONE, fg=red, style='bold' },
|
2020-07-29 09:54:20 +02:00
|
|
|
Noise = 'Delimiter',
|
2020-07-03 16:46:09 +02:00
|
|
|
|
|
|
|
--[[ 4.1.4. Metatextual Information]]
|
|
|
|
PreProc = {bg=NONE, fg=green, style=NONE },
|
|
|
|
Include = {bg=NONE, fg=pink, style='nocombine'},
|
|
|
|
Define = {bg=NONE, fg=pink, style='nocombine'},
|
2020-09-09 13:29:28 +02:00
|
|
|
Macro = {bg=NONE, fg=orange, style={'bold', 'nocombine'}},
|
2020-07-03 16:46:09 +02:00
|
|
|
PreCondit = {bg=NONE, fg=green, style='nocombine'},
|
|
|
|
|
|
|
|
--[[ 4.1.5. Semantics]]
|
|
|
|
Type = {bg=NONE, fg=aqua, style=NONE },
|
|
|
|
StorageClass = {bg=NONE, fg=aqua, style='bold' },
|
|
|
|
Structure = {bg=NONE, fg=aqua, style='bold' },
|
|
|
|
Typedef = {bg=NONE, fg=aqua, style='italic'},
|
|
|
|
|
|
|
|
--[[ 4.1.6. Edge Cases]]
|
|
|
|
Special = {bg=NONE, fg=purple, style=NONE },
|
2020-09-09 13:29:28 +02:00
|
|
|
SpecialChar = 'Character' ,
|
|
|
|
SpecialKey = 'Character' ,
|
|
|
|
Tag = 'Underlined',
|
2021-01-13 12:02:34 +01:00
|
|
|
Delimiter = {bg=NONE, fg=red, style=NONE },
|
2020-07-03 16:46:09 +02:00
|
|
|
-- SpecialComment affects Haskell Language Extension
|
|
|
|
SpecialComment = {bg=NONE, fg=orange, style={'bold', 'nocombine'}},
|
2020-09-09 13:29:28 +02:00
|
|
|
Debug = 'WarningMsg',
|
2020-07-03 16:46:09 +02:00
|
|
|
|
|
|
|
--[[ 4.1.7. Help Syntax]]
|
|
|
|
Underlined = {bg=NONE, fg=green, style='underline' },
|
|
|
|
Ignore = {bg=NONE, fg=gray, style=NONE },
|
|
|
|
Error = {bg=black, fg=red, style=NONE },
|
|
|
|
Todo = {bg=NONE, fg=orange, style={'bold', 'underline'}},
|
2020-09-09 13:29:28 +02:00
|
|
|
helpHyperTextJump = 'Underlined',
|
|
|
|
helpSpecial = 'Function' ,
|
2020-07-03 16:46:09 +02:00
|
|
|
Hint = {bg=lightblack3, fg=white, style='bold' },
|
2021-01-04 12:33:42 +01:00
|
|
|
Info = {bg=orange, fg=black, style='bold' },
|
|
|
|
Warning = {bg=pink, fg=black, style='bold' },
|
2020-07-03 16:46:09 +02:00
|
|
|
|
|
|
|
--[[ 4.2... Editor UI ]]
|
|
|
|
--[[ 4.2.1. Status Line]]
|
|
|
|
StatusLine = {bg=black, fg=warmgrey, style='inverse'},
|
|
|
|
StatusLineNC = {bg=black, fg=darkgrey, style='inverse'},
|
2020-09-09 13:29:28 +02:00
|
|
|
StatusLineTerm = 'StatusLine' ,
|
|
|
|
StatusLineTermNC = 'StatusLineNC',
|
2020-07-03 16:46:09 +02:00
|
|
|
|
|
|
|
--[[ 4.2.2. Separators]]
|
|
|
|
VertSplit = {bg=darkblack, fg=darkgrey, style=NONE },
|
|
|
|
TabLine = {bg=darkblack, fg=white, style=NONE },
|
|
|
|
TabLineFill = {bg=NONE, fg=FG, style=NONE },
|
|
|
|
TabLineSel = {bg=darkgrey, fg=FG, style='inverse'},
|
|
|
|
Title = {bg=NONE, fg=NONE, style='bold' },
|
|
|
|
|
|
|
|
--[[ 4.2.3. Conditional Line Highlighting]]
|
|
|
|
--Conceal={}
|
|
|
|
CursorLine = {bg=lightblack2, fg=NONE, style=NONE },
|
|
|
|
CursorLineNr = {bg=lightblack, fg=orange,style=NONE },
|
2020-09-09 13:29:28 +02:00
|
|
|
debugBreakpoint = 'ErrorMsg' ,
|
|
|
|
debugPC = 'ColorColumn',
|
2020-07-03 16:46:09 +02:00
|
|
|
LineNr = {bg=lightblack, fg=grey, style=NONE },
|
|
|
|
QuickFixLine = {bg=darkgrey, fg=NONE, style=NONE },
|
|
|
|
Visual = {bg=NONE, fg=NONE, style='inverse'},
|
|
|
|
VisualNOS = {bg=darkgrey, fg=NONE, style=NONE },
|
|
|
|
|
|
|
|
--[[ 4.2.4. Popup Menu]]
|
|
|
|
Pmenu = {bg=black, fg=aqua, style=NONE },
|
|
|
|
PmenuSbar = {bg=black, fg=NONE, style=NONE },
|
|
|
|
PmenuSel = {bg=warmgrey, fg=white, style='bold' },
|
|
|
|
PmenuThumb = {bg=grey, fg=lightblack, style=NONE },
|
|
|
|
WildMenu = {bg=NONE, fg=NONE, style=NONE },
|
|
|
|
|
|
|
|
--[[ 4.2.5. Folds]]
|
|
|
|
FoldColumn = {bg=darkblack, fg=NONE, style='bold' },
|
|
|
|
Folded = {bg=darkblack, fg=warmgrey, style='italic'},
|
|
|
|
|
|
|
|
--[[ 4.2.6. Diffs]]
|
|
|
|
DiffAdd = {bg=NONE, fg=darkgreen, style='inverse'},
|
|
|
|
DiffChange = {bg=NONE, fg=yellow, style='inverse'},
|
|
|
|
DiffDelete = {bg=NONE, fg=red, style='inverse'},
|
|
|
|
DiffText = {bg=NONE, fg=NONE, style='inverse'},
|
|
|
|
|
|
|
|
--[[ 4.2.7. Searching]]
|
|
|
|
IncSearch = {bg=NONE, fg=NONE, style='inverse' },
|
|
|
|
Search = {bg=yellow,fg=black, style={'underline', color=white}},
|
|
|
|
MatchParen = {bg=NONE, fg=purple, style={'bold', 'underline' }},
|
|
|
|
|
|
|
|
--[[ 4.2.8. Spelling]]
|
|
|
|
SpellBad = {bg=NONE, fg=NONE, style={'undercurl', color=red }},
|
|
|
|
SpellCap = {bg=NONE, fg=NONE, style={'undercurl', color=purple}},
|
|
|
|
SpellLocal = {bg=NONE, fg=NONE, style={'undercurl', color=pink }},
|
|
|
|
SpellRare = {bg=NONE, fg=NONE, style={'undercurl', color=aqua }},
|
|
|
|
|
|
|
|
--[[ 4.2.9. Conditional Column Highlighting]]
|
|
|
|
ColorColumn = {bg=lightblack, fg=NONE, style=NONE },
|
|
|
|
SignColumn = {bg=lightblack, fg=NONE, style=NONE },
|
|
|
|
|
|
|
|
--[[ 4.2.10. Messages]]
|
|
|
|
ErrorMsg = {bg=black, fg=red, style=NONE },
|
|
|
|
HintMsg = {bg=black, fg=purple, style='bold' },
|
2021-01-04 12:33:42 +01:00
|
|
|
InfoMsg = {bg=black, fg=orange, style='bold' },
|
2020-07-03 16:46:09 +02:00
|
|
|
ModeMsg = {bg=black, fg=yellow, style=NONE },
|
2021-01-04 12:33:42 +01:00
|
|
|
WarningMsg = {bg=black, fg=pink, style='bold' },
|
2020-07-03 16:46:09 +02:00
|
|
|
Question = {bg=black, fg=yellow, style='underline'},
|
|
|
|
|
|
|
|
--[[ 4.2.11. LSP ]]
|
2021-01-04 12:33:42 +01:00
|
|
|
LspDiagnosticsDefaultError = 'ErrorMsg' ,
|
|
|
|
LspDiagnosticsDefaultWarning = 'WarningMsg' ,
|
|
|
|
LspDiagnosticsDefaultInformation = 'InfoMsg' ,
|
|
|
|
LspDiagnosticsDefaultHint = 'HintMsg' ,
|
|
|
|
|
|
|
|
LspDiagnosticsFloatingError = 'ErrorMsg' ,
|
|
|
|
LspDiagnosticsFloatingWarning = 'WarningMsg' ,
|
|
|
|
LspDiagnosticsFloatingInformation = 'InfoMsg' ,
|
|
|
|
LspDiagnosticsFloatingHint = 'HintMsg' ,
|
|
|
|
|
|
|
|
LspDiagnosticsSignError = 'ErrorMsg' ,
|
|
|
|
LspDiagnosticsSignWarning = 'WarningMsg' ,
|
|
|
|
LspDiagnosticsSignInformation = 'InfoMsg' ,
|
|
|
|
LspDiagnosticsSignHint = 'HintMsg' ,
|
|
|
|
|
|
|
|
LspDiagnosticsUnderlineError = {style={'undercurl', color=red }},
|
|
|
|
LspDiagnosticsUnderlineWarning = {style={'undercurl', color=pink }},
|
|
|
|
LspDiagnosticsUnderlineInformation = {style={'undercurl', color=orange }},
|
|
|
|
LspDiagnosticsUnderlineHint = {style={'undercurl', color=purple }},
|
|
|
|
|
|
|
|
LspDiagnosticsVirtualTextError = 'ErrorMsg' ,
|
|
|
|
LspDiagnosticsVirtualTextWarning = 'WarningMsg' ,
|
|
|
|
LspDiagnosticsVirtualTextInformation = 'InfoMsg' ,
|
|
|
|
LspDiagnosticsVirtualTextHint = 'HintMsg' ,
|
2020-10-18 15:49:54 +02:00
|
|
|
|
2020-07-03 16:46:09 +02:00
|
|
|
--[[ 4.2.12. Cursor ]]
|
|
|
|
Cursor = {bg=white, fg=black, style='inverse'},
|
2020-09-09 13:29:28 +02:00
|
|
|
CursorIM = 'Cursor',
|
2020-07-03 16:46:09 +02:00
|
|
|
CursorColumn = {bg=lightblack2,fg=NONE, style=NONE },
|
|
|
|
|
|
|
|
--[[ 4.2.13. Misc ]]
|
|
|
|
Directory = {bg=NONE, fg=aqua, style='bold'},
|
2020-09-09 13:29:28 +02:00
|
|
|
Terminal = 'Normal',
|
2020-07-03 16:46:09 +02:00
|
|
|
NormalFloat = {bg=black, fg=white, style=NONE },
|
|
|
|
|
|
|
|
--[[ 4.3. Programming Languages
|
|
|
|
Everything in this section is OPTIONAL. Feel free to remove everything
|
|
|
|
here if you don't want to define it, or add more if there's something
|
|
|
|
missing.
|
|
|
|
]]
|
|
|
|
|
|
|
|
--[[ 4.3.1. C ]]
|
2020-09-02 13:25:45 +02:00
|
|
|
cConstant = 'Constant',
|
|
|
|
cCustomClass = 'Type' ,
|
2020-07-03 16:46:09 +02:00
|
|
|
|
|
|
|
--[[ 4.3.2. C++ ]]
|
2020-09-02 13:25:45 +02:00
|
|
|
cppSTLexception = 'Exception',
|
|
|
|
cppSTLnamespace = 'String' ,
|
2020-07-03 16:46:09 +02:00
|
|
|
|
|
|
|
--[[ 4.3.3 C# ]]
|
2020-11-21 07:01:25 +01:00
|
|
|
csBraces = 'Delimiter' ,
|
|
|
|
csClass = 'Structure' ,
|
|
|
|
csClassType = 'Type' ,
|
|
|
|
csContextualStatement = 'Conditional' ,
|
|
|
|
csEndColon = 'Delimiter' ,
|
|
|
|
csGeneric = 'Typedef' ,
|
|
|
|
csInterpolation = 'Include' ,
|
|
|
|
csInterpolationDelimiter = 'SpecialChar' ,
|
|
|
|
csLogicSymbols = 'Operator' ,
|
|
|
|
csModifier = 'Keyword' ,
|
|
|
|
csNew = 'Operator' ,
|
|
|
|
csNewType = 'Type' ,
|
|
|
|
csParens = 'Delimiter' ,
|
|
|
|
csPreCondit = 'PreProc' ,
|
|
|
|
csRepeat = 'Repeat' ,
|
|
|
|
csStorage = 'StorageClass',
|
|
|
|
csUnspecifiedStatement = 'Statement' ,
|
|
|
|
csXmlTag = 'Define' ,
|
|
|
|
csXmlTagName = 'Define' ,
|
2020-07-03 16:46:09 +02:00
|
|
|
|
|
|
|
--[[ 4.3.4. CSS ]]
|
2020-11-21 07:01:25 +01:00
|
|
|
cssBraces = 'Delimiter' ,
|
|
|
|
cssProp = 'Keyword' ,
|
|
|
|
cssSelectorOp = 'Operator' ,
|
|
|
|
cssTagName = 'Type' ,
|
|
|
|
cssTagName = 'htmlTagName',
|
|
|
|
scssAmpersand = 'Special' ,
|
|
|
|
scssAttribute = 'Normal' ,
|
|
|
|
scssBoolean = 'Boolean' ,
|
|
|
|
scssDefault = 'Keyword' ,
|
|
|
|
scssElse = 'PreCondit' ,
|
|
|
|
scssIf = 'PreCondit' ,
|
|
|
|
scssInclude = 'Include' ,
|
|
|
|
scssSelectorChar = 'Operator' ,
|
|
|
|
scssSelectorName = 'Label' ,
|
|
|
|
scssVariable = 'Define' ,
|
|
|
|
scssVariableAssignment = 'Operator' ,
|
2020-07-03 16:46:09 +02:00
|
|
|
|
|
|
|
--[[ 4.3.5. Dart ]]
|
2020-09-02 13:25:45 +02:00
|
|
|
dartLibrary = 'Statement',
|
2020-07-03 16:46:09 +02:00
|
|
|
|
|
|
|
--[[ 4.3.6. dot ]]
|
2020-09-02 13:25:45 +02:00
|
|
|
dotKeyChar = 'Character',
|
|
|
|
dotType = 'Type' ,
|
2020-07-03 16:46:09 +02:00
|
|
|
|
|
|
|
--[[ 4.3.7. Go ]]
|
2020-09-02 13:25:45 +02:00
|
|
|
goBlock = 'Delimiter' ,
|
|
|
|
goBoolean = 'Boolean' ,
|
|
|
|
goBuiltins = 'Operator' ,
|
|
|
|
goField = 'Identifier',
|
|
|
|
goFloat = 'Float' ,
|
|
|
|
goFormatSpecifier = 'Character' ,
|
|
|
|
goFunction = 'Function' ,
|
|
|
|
goFunctionCall = 'goFunction',
|
2020-07-03 16:46:09 +02:00
|
|
|
goFunctionReturn = {bg=NONE, fg=NONE, style=NONE},
|
2020-09-02 13:25:45 +02:00
|
|
|
goMethodCall = 'goFunctionCall',
|
|
|
|
goParamType = 'goReceiverType',
|
|
|
|
goPointerOperator = 'SpecialChar' ,
|
|
|
|
goPredefinedIdentifiers = 'Constant' ,
|
|
|
|
goReceiver = 'goBlock' ,
|
|
|
|
goReceiverType = 'goTypeName' ,
|
|
|
|
goSimpleParams = 'goBlock' ,
|
|
|
|
goType = 'Type' ,
|
|
|
|
goTypeConstructor = 'goFunction' ,
|
|
|
|
goTypeName = 'Type' ,
|
|
|
|
goVarAssign = 'Identifier' ,
|
|
|
|
goVarDefs = 'goVarAssign' ,
|
2020-07-03 16:46:09 +02:00
|
|
|
|
|
|
|
--[[ 4.3.8. HTML ]]
|
2020-11-21 07:01:25 +01:00
|
|
|
htmlArg = 'Label',
|
|
|
|
htmlBold = {bg=NONE, fg=lightgrey, style='bold'},
|
|
|
|
htmlTitle = 'htmlBold',
|
|
|
|
htmlEndTag = 'htmlTag',
|
|
|
|
htmlH1 = 'markdownH1',
|
|
|
|
htmlH2 = 'markdownH2',
|
|
|
|
htmlH3 = 'markdownH3',
|
|
|
|
htmlH4 = 'markdownH4',
|
|
|
|
htmlH5 = 'markdownH5',
|
|
|
|
htmlH6 = 'markdownH6',
|
|
|
|
htmlItalic = {bg=NONE, fg=NONE, style='italic'},
|
2020-07-29 09:54:20 +02:00
|
|
|
htmlSpecialTagName = 'Keyword',
|
2020-11-21 07:01:25 +01:00
|
|
|
htmlTag = 'Special',
|
|
|
|
htmlTagN = 'Typedef',
|
|
|
|
htmlTagName = 'Type',
|
2020-07-03 16:46:09 +02:00
|
|
|
|
|
|
|
--[[ 4.3.9. Java ]]
|
2020-09-02 13:25:45 +02:00
|
|
|
javaClassDecl = 'Structure',
|
2020-07-03 16:46:09 +02:00
|
|
|
|
|
|
|
--[[ 4.3.10. JavaScript ]]
|
2020-09-02 13:25:45 +02:00
|
|
|
jsFuncBlock = 'Function' ,
|
|
|
|
jsObjectKey = 'Type' ,
|
|
|
|
jsReturn = 'Keyword' ,
|
|
|
|
jsVariableDef = 'Identifier',
|
2020-07-03 16:46:09 +02:00
|
|
|
|
|
|
|
--[[ 4.3.11. JSON ]]
|
2020-11-21 07:01:25 +01:00
|
|
|
jsonBraces = 'Structure',
|
|
|
|
jsonKeywordMatch = 'Delimiter',
|
|
|
|
jsonNull = 'Constant' ,
|
|
|
|
jsonQuote = 'String' ,
|
|
|
|
jsonString = 'Normal' ,
|
2020-07-29 09:54:20 +02:00
|
|
|
jsonStringSQError = 'Exception',
|
2020-07-03 16:46:09 +02:00
|
|
|
|
|
|
|
--[[ 4.3.12. Make ]]
|
2020-09-02 13:25:45 +02:00
|
|
|
makeCommands = 'Statment',
|
|
|
|
makeSpecTarget = 'Type' ,
|
2020-07-03 16:46:09 +02:00
|
|
|
|
|
|
|
--[[ 4.3.13. Markdown ]]
|
|
|
|
markdownH1 = {bg=NONE, fg=green_dark, style='bold' },
|
|
|
|
markdownH2 = {bg=NONE, fg=red_light, style='bold' },
|
|
|
|
markdownH3 = {bg=NONE, fg=green, style='bold' },
|
|
|
|
markdownH4 = {bg=NONE, fg=purple, style='bold' },
|
|
|
|
markdownH5 = {bg=NONE, fg=orange, style='bold' },
|
|
|
|
markdownH6 = {bg=NONE, fg=yellow, style='bold' },
|
2020-11-21 07:01:25 +01:00
|
|
|
mkdBold = 'SpecialComment' ,
|
|
|
|
mkdCode = 'Keyword' ,
|
|
|
|
mkdCodeDelimiter = 'mkdBold' ,
|
2020-09-02 13:25:45 +02:00
|
|
|
mkdCodeStart = 'mkdCodeDelimiter',
|
2020-11-21 07:01:25 +01:00
|
|
|
mkdCodeEnd = 'mkdCodeStart' ,
|
|
|
|
mkdHeading = 'Delimiter' ,
|
|
|
|
mkdItalic = 'mkdBold' ,
|
|
|
|
mkdListItem = 'Special' ,
|
|
|
|
mkdRule = 'Underlined' ,
|
|
|
|
texMathMatcher = 'Number' ,
|
|
|
|
texMathZoneX = 'Number' ,
|
|
|
|
texMathZoneY = 'Number' ,
|
2020-07-03 16:46:09 +02:00
|
|
|
|
2020-10-18 15:49:54 +02:00
|
|
|
--[[ 4.3.14. Python ]]
|
2020-09-02 13:25:45 +02:00
|
|
|
pythonBrackets = 'Delimiter' ,
|
|
|
|
pythonBuiltinFunc = 'Operator' ,
|
|
|
|
pythonBuiltinObj = 'Type' ,
|
|
|
|
pythonBuiltinType = 'Type' ,
|
|
|
|
pythonClass = 'Structure' ,
|
|
|
|
pythonClassParameters = 'pythonParameters',
|
|
|
|
pythonDecorator = 'PreProc' ,
|
|
|
|
pythonDottedName = 'Identifier' ,
|
|
|
|
pythonError = 'Error' ,
|
|
|
|
pythonException = 'Exception' ,
|
|
|
|
pythonInclude = 'Include' ,
|
|
|
|
pythonIndentError = 'pythonError' ,
|
|
|
|
pythonLambdaExpr = 'pythonOperator' ,
|
|
|
|
pythonOperator = 'Operator' ,
|
|
|
|
pythonParam = 'Identifier' ,
|
|
|
|
pythonParameters = 'Delimiter' ,
|
|
|
|
pythonSelf = 'Statement' ,
|
|
|
|
pythonSpaceError = 'pythonError' ,
|
|
|
|
pythonStatement = 'Statement' ,
|
2020-07-03 16:46:09 +02:00
|
|
|
|
2020-10-18 15:49:54 +02:00
|
|
|
--[[ 4.3.15. Ruby ]]
|
2020-09-02 13:25:45 +02:00
|
|
|
rubyClass = 'Structure',
|
|
|
|
rubyDefine = 'Define' ,
|
|
|
|
rubyInterpolationDelimiter = 'Delimiter',
|
2020-07-03 16:46:09 +02:00
|
|
|
|
2020-10-18 15:49:54 +02:00
|
|
|
--[[ 4.3.16. Rust ]]
|
2020-09-02 13:25:45 +02:00
|
|
|
rustKeyword = 'Keyword' ,
|
|
|
|
rustModPath = 'Include' ,
|
|
|
|
rustScopeDecl = 'Delimiter' ,
|
|
|
|
rustTrait = 'StorageClass',
|
2020-07-03 16:46:09 +02:00
|
|
|
|
2020-10-18 15:49:54 +02:00
|
|
|
--[[ 4.3.17. Scala ]]
|
2020-09-02 13:25:45 +02:00
|
|
|
scalaKeyword = 'Keyword' ,
|
|
|
|
scalaNameDefinition = 'Identifier',
|
2020-07-03 16:46:09 +02:00
|
|
|
|
2020-10-18 15:49:54 +02:00
|
|
|
--[[ 4.3.18. shell ]]
|
|
|
|
shDerefSimple = 'SpecialChar',
|
2020-11-21 07:01:25 +01:00
|
|
|
shFunctionKey = 'Function' ,
|
|
|
|
shLoop = 'Repeat' ,
|
|
|
|
shParen = 'Delimiter' ,
|
|
|
|
shQuote = 'Delimiter' ,
|
|
|
|
shSet = 'Statement' ,
|
|
|
|
shTestOpr = 'Debug' ,
|
2020-07-03 16:46:09 +02:00
|
|
|
|
2020-10-18 15:49:54 +02:00
|
|
|
--[[ 4.3.19. Solidity ]]
|
2020-09-02 13:25:45 +02:00
|
|
|
solBuiltinType = 'Type' ,
|
|
|
|
solContract = 'Typedef' ,
|
|
|
|
solContractName = 'Function',
|
2020-07-03 16:46:09 +02:00
|
|
|
|
2020-10-18 15:49:54 +02:00
|
|
|
--[[ 4.3.20. TOML ]]
|
2020-09-02 13:25:45 +02:00
|
|
|
tomlComment = 'Comment' ,
|
|
|
|
tomlKey = 'Label' ,
|
|
|
|
tomlTable = 'StorageClass',
|
2020-07-03 16:46:09 +02:00
|
|
|
|
2020-10-18 15:49:54 +02:00
|
|
|
--[[ 4.3.21. VimScript ]]
|
2020-11-21 07:01:25 +01:00
|
|
|
helpSpecial = 'Special' ,
|
|
|
|
vimFgBgAttrib = 'Constant' ,
|
|
|
|
vimHiCterm = 'Label' ,
|
2020-09-02 13:25:45 +02:00
|
|
|
vimHiCtermFgBg = 'vimHiCterm',
|
2020-11-21 07:01:25 +01:00
|
|
|
vimHiGroup = 'Typedef' ,
|
2020-09-02 13:25:45 +02:00
|
|
|
vimHiGui = 'vimHiCterm',
|
2020-11-21 07:01:25 +01:00
|
|
|
vimHiGuiFgBg = 'vimHiGui' ,
|
|
|
|
vimHiKeyList = 'Operator' ,
|
|
|
|
vimOption = 'Keyword' ,
|
|
|
|
vimScriptDelim = 'Ignore' ,
|
|
|
|
vimSet = 'String' ,
|
|
|
|
vimSetEqual = 'Operator' ,
|
|
|
|
vimSetSep = 'Delimiter' ,
|
2020-07-03 16:46:09 +02:00
|
|
|
|
2020-10-18 15:49:54 +02:00
|
|
|
--[[ 4.3.22. XML ]]
|
2020-09-02 13:25:45 +02:00
|
|
|
xmlAttrib = 'Label' ,
|
|
|
|
xmlEndTag = 'Exception',
|
|
|
|
xmlEqual = 'Operator' ,
|
|
|
|
xmlTag = 'Delimiter',
|
|
|
|
xmlTagName = 'Define' ,
|
2020-07-03 16:46:09 +02:00
|
|
|
|
2020-10-18 15:49:54 +02:00
|
|
|
--[[ 4.3.23 Haskell ]]
|
2020-09-02 13:25:45 +02:00
|
|
|
haskellType = 'Type' ,
|
|
|
|
haskellIdentifier = 'Identifier',
|
|
|
|
haskellOperators = 'Operator' ,
|
|
|
|
haskellWhere = 'Keyword' ,
|
|
|
|
haskellDelimiter = 'Delimiter' ,
|
|
|
|
haskellImportKeywords = 'Include' ,
|
|
|
|
haskellStatement = 'Statement' ,
|
2020-07-03 16:46:09 +02:00
|
|
|
|
2020-10-18 15:49:54 +02:00
|
|
|
--[[ 4.3.24 Lua ]]
|
2020-11-21 07:01:25 +01:00
|
|
|
luaBraces = 'Structure' ,
|
|
|
|
luaBrackets = 'Delimiter' ,
|
|
|
|
luaBuiltin = 'Keyword' ,
|
|
|
|
luaComma = 'Delimiter' ,
|
|
|
|
luaFuncArgName = 'Identifier' ,
|
|
|
|
luaFuncCall = 'Function' ,
|
|
|
|
luaFuncId = 'luaNoise' ,
|
|
|
|
luaFuncKeyword = 'Type' ,
|
|
|
|
luaFuncName = 'Function' ,
|
|
|
|
luaFuncParens = 'Delimiter' ,
|
|
|
|
luaFuncTable = 'Structure' ,
|
|
|
|
luaLocal = 'Type' ,
|
|
|
|
luaNoise = 'Operator' ,
|
|
|
|
luaParens = 'Delimiter' ,
|
|
|
|
luaSpecialTable = 'StorageClass',
|
|
|
|
luaSpecialValue = 'Function' ,
|
2020-07-29 09:54:20 +02:00
|
|
|
|
2020-10-18 15:49:54 +02:00
|
|
|
--[[ 4.3.25. SQL ]]
|
2020-11-21 07:01:25 +01:00
|
|
|
sqlKeyword = 'Keyword' ,
|
2020-10-18 15:49:54 +02:00
|
|
|
sqlParen = 'Delimiter',
|
2020-11-21 07:01:25 +01:00
|
|
|
sqlSpecial = 'Constant' ,
|
2020-10-18 15:49:54 +02:00
|
|
|
sqlStatement = 'Statement',
|
2020-11-21 07:01:25 +01:00
|
|
|
sqlParenFunc = 'Function' ,
|
2020-10-18 15:49:54 +02:00
|
|
|
|
|
|
|
--[[ 4.3.26. dos INI ]]
|
|
|
|
dosiniHeader = 'Title',
|
|
|
|
|
|
|
|
--[[ 4.3.27. Crontab ]]
|
|
|
|
crontabDay = 'StorageClass',
|
2020-11-21 07:01:25 +01:00
|
|
|
crontabDow = 'String' ,
|
|
|
|
crontabHr = 'Number' ,
|
|
|
|
crontabMin = 'Float' ,
|
|
|
|
crontabMnth = 'Structure' ,
|
2020-10-18 15:49:54 +02:00
|
|
|
|
|
|
|
--[[ 4.3.28. PlantUML ]]
|
|
|
|
plantumlColonLine = {},
|
|
|
|
|
2020-11-21 07:01:25 +01:00
|
|
|
--[[ 4.3.33. YAML ]]
|
|
|
|
yamlKey = 'Label',
|
|
|
|
|
|
|
|
--[[ 4.3.34. Git ]]
|
|
|
|
gitrebaseBreak = 'Keyword' ,
|
|
|
|
gitrebaseCommit = 'Tag' ,
|
|
|
|
gitrebaseDrop = 'Exception' ,
|
|
|
|
gitrebaseEdit = 'Define' ,
|
|
|
|
gitrebaseExec = 'PreProc' ,
|
|
|
|
gitrebaseFixup = 'gitrebaseSquash',
|
|
|
|
gitrebaseMerge = 'PreProc' ,
|
|
|
|
gitrebasePick = 'Include' ,
|
|
|
|
gitrebaseReset = 'gitrebaseLabel' ,
|
|
|
|
gitrebaseReword = 'gitrebasePick' ,
|
|
|
|
gitrebaseSquash = 'Macro' ,
|
|
|
|
gitrebaseSummary = 'Normal' ,
|
|
|
|
|
2020-07-03 16:46:09 +02:00
|
|
|
--[[ 4.4. Plugins
|
|
|
|
Everything in this section is OPTIONAL. Feel free to remove everything
|
|
|
|
here if you don't want to define it, or add more if there's something
|
|
|
|
missing.
|
|
|
|
]]
|
|
|
|
--[[ 4.4.1. ALE ]]
|
2020-09-02 13:25:45 +02:00
|
|
|
ALEErrorSign = 'ErrorMsg' ,
|
|
|
|
ALEWarningSign = 'WarningMsg',
|
2020-07-03 16:46:09 +02:00
|
|
|
|
|
|
|
--[[ 4.4.2. coc.nvim ]]
|
|
|
|
CocErrorHighlight = {bg=NONE, fg=NONE, style={'undercurl', color='red' }},
|
2020-09-09 13:29:28 +02:00
|
|
|
CocErrorSign = 'ALEErrorSign',
|
2020-07-03 16:46:09 +02:00
|
|
|
CocHintHighlight = {bg=NONE, fg=NONE, style={'undercurl', color='purple' }},
|
2020-09-09 13:29:28 +02:00
|
|
|
CocHintSign = 'HintMsg',
|
2020-07-03 16:46:09 +02:00
|
|
|
CocInfoHighlight = {bg=NONE, fg=NONE, style={'undercurl', color='pink' }},
|
2020-09-09 13:29:28 +02:00
|
|
|
CocInfoSign = 'InfoMsg',
|
2020-07-03 16:46:09 +02:00
|
|
|
CocWarningHighlight = {bg=NONE, fg=NONE, style={'undercurl', color='orange' }},
|
2020-09-09 13:29:28 +02:00
|
|
|
CocWarningSign = 'ALEWarningSign',
|
2020-07-03 16:46:09 +02:00
|
|
|
|
|
|
|
--[[ 4.4.2. vim-jumpmotion / vim-easymotion ]]
|
2020-09-02 13:25:45 +02:00
|
|
|
EasyMotion = 'IncSearch' ,
|
|
|
|
JumpMotion = 'EasyMotion',
|
2020-07-03 16:46:09 +02:00
|
|
|
|
|
|
|
--[[ 4.4.3. vim-markdown ]]
|
2020-09-02 13:25:45 +02:00
|
|
|
htmlH1 = 'markdownH1',
|
|
|
|
htmlH2 = 'markdownH2',
|
|
|
|
htmlH3 = 'markdownH3',
|
|
|
|
htmlH4 = 'markdownH4',
|
|
|
|
htmlH5 = 'markdownH5',
|
|
|
|
htmlH6 = 'markdownH6',
|
2020-07-03 16:46:09 +02:00
|
|
|
|
|
|
|
--[[ 4.4.4. vim-gitgutter / vim-signify ]]
|
|
|
|
GitGutterAdd = {bg=NONE, fg=green, style=NONE},
|
|
|
|
GitGutterChange = {bg=NONE, fg=yellow, style=NONE},
|
|
|
|
GitGutterDelete = {bg=NONE, fg=red, style=NONE},
|
|
|
|
GitGutterChangeDelete = {bg=NONE, fg=orange, style=NONE},
|
|
|
|
|
2020-09-02 13:25:45 +02:00
|
|
|
SignifySignAdd = 'GitGutterAdd' ,
|
|
|
|
SignifySignChange = 'GitGutterChange' ,
|
|
|
|
SignifySignDelete = 'GitGutterDelete' ,
|
|
|
|
SignifySignChangeDelete = 'GitGutterChangeDelete',
|
2020-07-03 16:46:09 +02:00
|
|
|
|
|
|
|
--[[ 4.4.5. vim-indent-guides ]]
|
|
|
|
IndentGuidesOdd = {bg=darkgrey, fg=NONE, style=NONE},
|
|
|
|
IndentGuidesEven = {bg=grey, fg=NONE, style=NONE},
|
|
|
|
|
|
|
|
--[[ 4.4.7. NERDTree ]]
|
2020-09-02 13:25:45 +02:00
|
|
|
NERDTreeCWD = 'Label' ,
|
|
|
|
NERDTreeUp = 'Operator' ,
|
|
|
|
NERDTreeDir = 'Directory' ,
|
|
|
|
NERDTreeDirSlash = 'Delimiter' ,
|
|
|
|
NERDTreeOpenable = 'NERDTreeDir' ,
|
|
|
|
NERDTreeClosable = 'NERDTreeOpenable',
|
|
|
|
NERDTreeExecFile = 'Function' ,
|
|
|
|
NERDTreeLinkTarget = 'Tag' ,
|
|
|
|
|
|
|
|
--[[ 4.4.8. nvim-treesitter ]]
|
2021-01-04 11:28:19 +01:00
|
|
|
TSAnnotation = 'SpecialChar',
|
|
|
|
TSAttribute = 'Normal',
|
|
|
|
TSBoolean = 'Boolean',
|
|
|
|
TSCharacter = 'Character',
|
|
|
|
TSComment = 'Comment',
|
|
|
|
TSConstructor = 'Typedef',
|
|
|
|
TSConditional = 'Conditional',
|
|
|
|
TSConstant = 'Constant',
|
|
|
|
TSConstBuiltin = 'Type',
|
|
|
|
TSConstMacro = 'Define',
|
|
|
|
TSError = 'Error',
|
|
|
|
TSException = 'Exception',
|
|
|
|
TSField = 'Identifier',
|
|
|
|
TSFloat = 'Float',
|
|
|
|
TSFunction = 'Function',
|
|
|
|
TSFuncBuiltin = 'Special',
|
|
|
|
TSFuncMacro = 'Macro',
|
|
|
|
TSInclude = 'Include',
|
|
|
|
TSKeyword = 'Keyword',
|
|
|
|
TSKeywordFunction = 'Keyword',
|
|
|
|
TSLabel = 'Label',
|
|
|
|
TSMethod = 'Function',
|
|
|
|
TSNamespace = 'Include',
|
|
|
|
TSNone = 'NONE',
|
|
|
|
TSNumber = 'Number',
|
|
|
|
TSOperator = 'Operator',
|
|
|
|
TSParameter = 'Identifier',
|
2020-09-09 13:29:28 +02:00
|
|
|
TSParameterReference = 'Type',
|
2021-01-04 11:28:19 +01:00
|
|
|
TSProperty = 'Identifier',
|
|
|
|
TSPunctDelimiter = 'Delimiter',
|
|
|
|
TSPunctBracket = 'Delimiter',
|
|
|
|
TSPunctSpecial = 'Special',
|
|
|
|
TSRepeat = 'Repeat',
|
|
|
|
TSString = 'String',
|
|
|
|
TSStringRegex = 'String',
|
|
|
|
TSStringEscape = 'SpecialChar',
|
|
|
|
TSTag = 'Tag',
|
|
|
|
TSTagDelimiter = 'Delimiter',
|
|
|
|
TSText = 'String',
|
|
|
|
TSEmphasis = 'Underlined',
|
|
|
|
TSUnderline = 'Underlined',
|
|
|
|
TSTitle = 'Comment',
|
|
|
|
TSLiteral = 'Character',
|
|
|
|
TSURI = 'Tag',
|
|
|
|
TSType = 'Type',
|
|
|
|
TSTypeBuiltin = 'Type',
|
|
|
|
TSVariable = 'Identifier',
|
|
|
|
TSVariableBuiltin = 'Identifier',
|
2020-09-02 13:25:45 +02:00
|
|
|
|
|
|
|
--[[ 4.4.9 SearchLight ]]
|
2020-07-03 16:46:09 +02:00
|
|
|
SearchLight = {bg=black, fg=orange, style={'bold', 'italic', 'underline'}},
|
|
|
|
|
2020-09-02 13:25:45 +02:00
|
|
|
--[[ 4.4.10 Sneak ]]
|
2020-10-30 09:56:43 +01:00
|
|
|
Sneak = {bg=red, fg=black, style='bold' },
|
|
|
|
SneakScope = {bg=black, fg=orange, style={'bold', 'underline'}},
|
2020-07-03 16:46:09 +02:00
|
|
|
|
2020-09-02 13:25:45 +02:00
|
|
|
--[[ 4.4.11 Which key ]]
|
|
|
|
WhichKey = 'Function' ,
|
|
|
|
WhichKeySeperator = 'DiffAdded',
|
|
|
|
WhichKeyGroup = 'Keyword' ,
|
2020-07-03 16:46:09 +02:00
|
|
|
WhichKeyDesc = {bg=black, fg=orange, style=NONE },
|
2020-09-02 13:25:45 +02:00
|
|
|
WhichKeyFloating = 'Pmenu' ,
|
2020-12-18 09:26:14 +01:00
|
|
|
|
|
|
|
--[[ 4.4.12 conflict-marker ]]
|
|
|
|
ConflictMarkerBegin = {bg=black, fg=purple, style=NONE },
|
|
|
|
ConflictMarkerEnd = {bg=black, fg=purple, style=NONE },
|
|
|
|
ConflictMarkerOurs = {bg=black, fg=green, style=NONE },
|
|
|
|
ConflictMarkerTheirs = {bg=black, fg=red, style=NONE },
|
|
|
|
ConflictMarkerCommonAncestorsHunk = {bg=black, fg=orange, style=NONE },
|
2020-12-23 10:21:41 +01:00
|
|
|
|
|
|
|
--[[ 4.4.13 hlslens ]]
|
|
|
|
HlSearchLensCur = 'SearchLight',
|
|
|
|
HlSearchLens = 'IncSearch',
|
|
|
|
HlSearchCur = 'SearchLight',
|
2021-01-13 11:48:07 +01:00
|
|
|
|
|
|
|
--[[ 4.4.14 pandoc ]]
|
|
|
|
pandocAtxHeader = { bg=black, fg=aqua, style=NONE },
|
|
|
|
pandocAtxStart = { bg=black, fg=orange, style=NONE },
|
|
|
|
pandocDelimitedCodeBlockStart = { bg=black, fg=green, style=NONE },
|
|
|
|
pandocDelimitedCodeBlockEnd = { bg=black, fg=green, style=NONE },
|
|
|
|
pandocDelimitedCodeBlockLanguage = 'Comment',
|
|
|
|
pandocListItemBullet = { bg=black, fg=purple, style=NONE },
|
|
|
|
pandocUListItemBullet = { bg=black, fg=purple, style=NONE },
|
2020-07-03 16:46:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
-- We do not care about terminals which do not support 256 colors
|
|
|
|
local terminal_ansi_colors = { }
|
|
|
|
|
|
|
|
require('yolokai')(
|
|
|
|
highlight_group_normal,
|
|
|
|
highlight_groups,
|
|
|
|
terminal_ansi_colors
|
|
|
|
)
|
|
|
|
|
|
|
|
EOF
|