Remove duplicate

This commit is contained in:
Iron_E 2020-06-20 18:21:09 -04:00
parent 365891b181
commit 9d2fc34ad0
No known key found for this signature in database
GPG Key ID: B0B37DE7EDC2335F
2 changed files with 63 additions and 61 deletions

View File

@ -1,3 +1,5 @@
--[[ NOTHING IN THIS FILE NEEDS TO BE EDITED BY THE USER. ]]
return function(name, Normal, highlights, terminal_ansi_colors) return function(name, Normal, highlights, terminal_ansi_colors)
-- Clear the highlighting. -- Clear the highlighting.
vim.cmd('hi clear') vim.cmd('hi clear')

View File

@ -171,18 +171,19 @@ local BG = 'bg'
local FG = 'fg' local FG = 'fg'
local NONE = 'NONE' local NONE = 'NONE'
--[[ These are the ones you should edit. ]]
-- This is the only highlight that must be defined separately. -- This is the only highlight that must be defined separately.
local Normal = {bg=black, fg=gray_light, style=NONE} local Normal = {bg=black, fg=gray_light, style=NONE}
-- This is where the rest of your highlights should go. -- This is where the rest of your highlights should go.
local highlights = { local highlights = {
--[[ 1. Text Analysis ]] --[[ 4.1. Text Analysis ]]
Comment = {bg=NONE, fg=gray, style='italic'}, Comment = {bg=NONE, fg=gray, style='italic'},
EndOfBuffer = {link='NonText' }, EndOfBuffer = {link='NonText' },
NonText = {bg=NONE, fg=gray_darker, style=NONE }, NonText = {bg=NONE, fg=gray_darker, style=NONE },
Whitespace = {link='NonText' }, Whitespace = {link='NonText' },
--[[ 1.1. Literals]] --[[ 4.1.1. Literals]]
Constant = {bg=NONE, fg=orange_light, style=NONE}, Constant = {bg=NONE, fg=orange_light, style=NONE},
String = {bg=NONE, fg=green, style=NONE}, String = {bg=NONE, fg=green, style=NONE},
Character = {bg=NONE, fg=red_light, style=NONE}, Character = {bg=NONE, fg=red_light, style=NONE},
@ -190,11 +191,11 @@ local highlights = {
Boolean = {bg=NONE, fg=yellow, style=NONE}, Boolean = {bg=NONE, fg=yellow, style=NONE},
Float = {link='Number' }, Float = {link='Number' },
--[[ 1.2. Identifiers]] --[[ 4.1.2. Identifiers]]
Identifier = {bg=NONE, fg=FG, style=NONE}, Identifier = {bg=NONE, fg=FG, style=NONE},
Function = {bg=NONE, fg=purple, style=NONE}, Function = {bg=NONE, fg=purple, style=NONE},
--[[ 1.3. Syntax]] --[[ 4.1.3. Syntax]]
Statement = {bg=NONE, fg=ice, style=NONE }, Statement = {bg=NONE, fg=ice, style=NONE },
Conditional = {bg=NONE, fg=ice, style='italic'}, Conditional = {bg=NONE, fg=ice, style='italic'},
Repeat = {link='Keyword' }, Repeat = {link='Keyword' },
@ -203,20 +204,20 @@ local highlights = {
Keyword = {bg=NONE, fg=turqoise, style='bold' }, Keyword = {bg=NONE, fg=turqoise, style='bold' },
Exception = {bg=NONE, fg=red, style='bold' }, Exception = {bg=NONE, fg=red, style='bold' },
--[[ 1.4. Metatextual Information]] --[[ 4.1.4. Metatextual Information]]
PreProc = {bg=NONE, fg=tan, style=NONE }, PreProc = {bg=NONE, fg=tan, style=NONE },
Include = {bg=NONE, fg=green_light, style='nocombine'}, Include = {bg=NONE, fg=green_light, style='nocombine'},
Define = {bg=NONE, fg=blue, style='nocombine'}, Define = {bg=NONE, fg=blue, style='nocombine'},
Macro = {link='Define' }, Macro = {link='Define' },
PreCondit = {bg=NONE, fg=teal, style='nocombine'}, PreCondit = {bg=NONE, fg=teal, style='nocombine'},
--[[ 1.5. Semantics]] --[[ 4.1.5. Semantics]]
Type = {bg=NONE, fg=cyan, style=NONE }, Type = {bg=NONE, fg=cyan, style=NONE },
StorageClass = {bg=NONE, fg=orange_light, style='bold' }, StorageClass = {bg=NONE, fg=orange_light, style='bold' },
Structure = {bg=NONE, fg=blue, style='bold' }, Structure = {bg=NONE, fg=blue, style='bold' },
Typedef = {bg=NONE, fg=cyan, style='italic'}, Typedef = {bg=NONE, fg=cyan, style='italic'},
--[[ 1.6. Edge Cases]] --[[ 4.1.6. Edge Cases]]
Special = {bg=NONE, fg=magenta, style=NONE }, Special = {bg=NONE, fg=magenta, style=NONE },
SpecialChar = {link='Character' }, SpecialChar = {link='Character' },
SpecialKey = {link='Character' }, SpecialKey = {link='Character' },
@ -225,7 +226,7 @@ local highlights = {
SpecialComment = {bg=NONE, fg=gray, style='bold'}, SpecialComment = {bg=NONE, fg=gray, style='bold'},
Debug = {link='WarningMsg' }, Debug = {link='WarningMsg' },
--[[ 1.7. Help Syntax]] --[[ 4.1.7. Help Syntax]]
Underlined = {bg=NONE, fg=turqoise, style='underline' }, Underlined = {bg=NONE, fg=turqoise, style='underline' },
Ignore = {bg=NONE, fg=gray, style=NONE }, Ignore = {bg=NONE, fg=gray, style=NONE },
Error = {bg=red_dark, fg=white, style='bold' }, Error = {bg=red_dark, fg=white, style='bold' },
@ -233,21 +234,21 @@ local highlights = {
helpHyperTextJump = {link='Underlined' }, helpHyperTextJump = {link='Underlined' },
helpSpecial = {link='Function' }, helpSpecial = {link='Function' },
--[[ 2... Editor UI ]] --[[ 4.2... Editor UI ]]
--[[ 2.1. Status Line]] --[[ 4.2.1. Status Line]]
StatusLine = {bg=gray_darker, fg=green_light, style=NONE}, StatusLine = {bg=gray_darker, fg=green_light, style=NONE},
StatusLineNC = {bg=gray_darker, fg=gray, style=NONE}, StatusLineNC = {bg=gray_darker, fg=gray, style=NONE},
StatusLineTerm = {link='StatusLine' }, StatusLineTerm = {link='StatusLine' },
StatusLineTermNC = {link='StatusLineNC' }, StatusLineTermNC = {link='StatusLineNC' },
--[[ 2.2. Separators]] --[[ 4.2.2. Separators]]
VertSplit = {bg=NONE, fg=gray_darker, style=NONE }, VertSplit = {bg=NONE, fg=gray_darker, style=NONE },
TabLine = {bg=gray_darker, fg=FG, style=NONE }, TabLine = {bg=gray_darker, fg=FG, style=NONE },
TabLineFill = {bg=NONE, fg=FG, style=NONE }, TabLineFill = {bg=NONE, fg=FG, style=NONE },
TabLineSel = {bg=gray_darker, fg=FG, style='inverse'}, TabLineSel = {bg=gray_darker, fg=FG, style='inverse'},
Title = {bg=NONE, fg=NONE, style='bold' }, Title = {bg=NONE, fg=NONE, style='bold' },
--[[ 2.3. Conditional Line Highlighting]] --[[ 4.2.3. Conditional Line Highlighting]]
--Conceal={} --Conceal={}
CursorLine = {bg=gray_dark, fg=NONE, style=NONE }, CursorLine = {bg=gray_dark, fg=NONE, style=NONE },
CursorLineNr = {bg=gray_dark, fg=pink, style=NONE }, CursorLineNr = {bg=gray_dark, fg=pink, style=NONE },
@ -258,75 +259,80 @@ local highlights = {
Visual = {bg=NONE, fg=NONE, style='inverse'}, Visual = {bg=NONE, fg=NONE, style='inverse'},
VisualNOS = {bg=gray_darker, fg=NONE, style=NONE }, VisualNOS = {bg=gray_darker, fg=NONE, style=NONE },
--[[ 2.4. Popup Menu]] --[[ 4.2.4. Popup Menu]]
Pmenu = {bg=gray_dark, fg=FG, style=NONE}, Pmenu = {bg=gray_dark, fg=FG, style=NONE},
PmenuSbar = {bg=black, fg=NONE, style=NONE}, PmenuSbar = {bg=black, fg=NONE, style=NONE},
PmenuSel = {bg=NONE, fg=FG, style=NONE}, PmenuSel = {bg=NONE, fg=FG, style=NONE},
PmenuThumb = {bg=white, fg=NONE, style=NONE}, PmenuThumb = {bg=white, fg=NONE, style=NONE},
WildMenu = {bg=NONE, fg=NONE, style=NONE}, WildMenu = {bg=NONE, fg=NONE, style=NONE},
--[[ 2.5. Folds]] --[[ 4.2.5. Folds]]
FoldColumn = {bg=gray_darker, fg=NONE, style='bold' }, FoldColumn = {bg=gray_darker, fg=NONE, style='bold' },
Folded = {bg=purple_light, fg=black, style='italic'}, Folded = {bg=purple_light, fg=black, style='italic'},
--[[ 2.6. Diffs]] --[[ 4.2.6. Diffs]]
DiffAdd = {bg=NONE, fg=green_dark, style='inverse'}, DiffAdd = {bg=NONE, fg=green_dark, style='inverse'},
DiffChange = {bg=NONE, fg=yellow, style='inverse'}, DiffChange = {bg=NONE, fg=yellow, style='inverse'},
DiffDelete = {bg=NONE, fg=red, style='inverse'}, DiffDelete = {bg=NONE, fg=red, style='inverse'},
DiffText = {bg=NONE, fg=NONE, style='inverse'}, DiffText = {bg=NONE, fg=NONE, style='inverse'},
--[[ 2.7. Searching]] --[[ 4.2.7. Searching]]
IncSearch = {bg=NONE, fg=NONE, style='inverse' }, IncSearch = {bg=NONE, fg=NONE, style='inverse' },
Search = {bg=NONE, fg=NONE, style={'undercurl', color=white}}, Search = {bg=NONE, fg=NONE, style={'undercurl', color=white}},
MatchParen = {bg=NONE, fg=green, style={'bold', 'underline' }}, MatchParen = {bg=NONE, fg=green, style={'bold', 'underline' }},
--[[ 2.8. Spelling]] --[[ 4.2.8. Spelling]]
SpellBad = {bg=NONE, fg=NONE, style={'undercurl', color=red }}, SpellBad = {bg=NONE, fg=NONE, style={'undercurl', color=red }},
SpellCap = {bg=NONE, fg=NONE, style={'undercurl', color=yellow}}, SpellCap = {bg=NONE, fg=NONE, style={'undercurl', color=yellow}},
SpellLocal = {bg=NONE, fg=NONE, style={'undercurl', color=green }}, SpellLocal = {bg=NONE, fg=NONE, style={'undercurl', color=green }},
SpellRare = {bg=NONE, fg=NONE, style={'undercurl', color=orange}}, SpellRare = {bg=NONE, fg=NONE, style={'undercurl', color=orange}},
--[[ 2.9. Conditional Column Highlighting]] --[[ 4.2.9. Conditional Column Highlighting]]
ColorColumn = {bg=NONE, fg=NONE, style='inverse'}, ColorColumn = {bg=NONE, fg=NONE, style='inverse'},
SignColumn = {bg=NONE, fg=NONE, style=NONE }, SignColumn = {bg=NONE, fg=NONE, style=NONE },
--[[ 2.10. Messages]] --[[ 4.2.10. Messages]]
ErrorMsg = {bg=NONE, fg=red_light, style='bold' }, ErrorMsg = {bg=NONE, fg=red_light, style='bold' },
ModeMsg = {bg=NONE, fg=yellow, style=NONE }, ModeMsg = {bg=NONE, fg=yellow, style=NONE },
WarningMsg = {bg=NONE, fg=orange, style='bold' }, WarningMsg = {bg=NONE, fg=orange, style='bold' },
Question = {bg=NONE, fg=orange_light, style='underline'}, Question = {bg=NONE, fg=orange_light, style='underline'},
--[[ 2.11. Cursor ]] --[[ 4.2.11. Cursor ]]
Cursor = {bg=NONE, fg=NONE, style='inverse'}, Cursor = {bg=NONE, fg=NONE, style='inverse'},
CursorIM = {link='Cursor' }, CursorIM = {link='Cursor' },
CursorColumn = {bg=gray_dark, fg=NONE, style=NONE }, CursorColumn = {bg=gray_dark, fg=NONE, style=NONE },
-- 2.12 Misc. -- 2.12 Misc.
-- Directory = {bg=NONE, fg=ice, style='bold'},
Directory = {bg=NONE, fg=ice, style='bold'}, Directory = {bg=NONE, fg=ice, style='bold'},
Terminal = {link='Normal' }, Terminal = {link='Normal' },
--[[ 3. Programming Languages --[[ 4.3. Programming Languages
Everything in this section is OPTIONAL. Feel free to remove everything 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 here if you don't want to define it, or add more if there's something
missing. missing.
]] --]]
--[[ 3.0. C ]]
--[[ 4.3.1. C ]]
cConstant = {link='Constant'}, cConstant = {link='Constant'},
cCustomClass = {link='Type' }, cCustomClass = {link='Type' },
--[[ 3.0. C++ ]] --[[ 4.3.2. C++ ]]
cppSTLexception = {link='Exception'}, cppSTLexception = {link='Exception'},
cppSTLnamespace = {link='String' }, cppSTLnamespace = {link='String' },
--[[ 3.0. CSS ]] --[[ 4.3.3 C# ]]
csLogicSymbols = {link='Operator'},
--[[ 4.3.4. CSS ]]
cssProp = {link='Keyword'}, cssProp = {link='Keyword'},
cssTagName = {link='Type' }, cssTagName = {link='Type' },
--[[ 3.0. dot ]] --[[ 4.3.5. dot ]]
dotKeyChar = {link='Character'}, dotKeyChar = {link='Character'},
dotType = {link='Type' }, dotType = {link='Type' },
--[[ 3.0. Go ]] --[[ 4.3.6. Go ]]
goField = {link='Identifier' } , goField = {link='Identifier' } ,
goFloat = {link='Float' } , goFloat = {link='Float' } ,
goFormatSpecifier = {link='Character' } , goFormatSpecifier = {link='Character' } ,
@ -339,38 +345,38 @@ local highlights = {
goTypeConstructor = {link='goFunction' } , goTypeConstructor = {link='goFunction' } ,
goTypeName = {link='Type' } , goTypeName = {link='Type' } ,
--[[ 3.0. HTML ]] --[[ 4.3.7. HTML ]]
htmlBold = {bg=NONE, fg=NONE, style='bold' }, htmlBold = {bg=NONE, fg=NONE, style='bold' },
htmlItalic = {bg=NONE, fg=NONE, style='italic'}, htmlItalic = {bg=NONE, fg=NONE, style='italic'},
htmlSpecialTagName = {link='Tag' }, htmlSpecialTagName = {link='Tag' },
--[[ 3.0. Java ]] --[[ 4.3.8. Java ]]
javaClassDecl = {link='Structure'}, javaClassDecl = {link='Structure'},
--[[ 3.0. JavaScript ]] --[[ 4.3.9. JavaScript ]]
jsFuncBlock = {link='Function' }, jsFuncBlock = {link='Function' },
jsObjectKey = {link='Type' }, jsObjectKey = {link='Type' },
jsReturn = {link='Keyword' }, jsReturn = {link='Keyword' },
jsVariableDef = {link='Identifier'}, jsVariableDef = {link='Identifier'},
--[[ 3.0. JSON ]] --[[ 4.3.10. JSON ]]
jsonStringSQError = {link='Exception'}, jsonStringSQError = {link='Exception'},
--[[ 3.0. Make ]] --[[ 4.3.11. Make ]]
makeCommands = {link='Statment'}, makeCommands = {link='Statment'},
makeSpecTarget = {link='Type' }, makeSpecTarget = {link='Type' },
--[[ 3.0. Markdown ]] --[[ 4.3.12. Markdown ]]
markdownH1 = {bg=NONE, fg=FG, style='bold' }, markdownH14 = {bg=NONE, fg=FG, style='bold' },
markdownH2 = {bg=NONE, fg=FG, style='bold' }, markdownH16 = {bg=NONE, fg=FG, style='bold' },
markdownH3 = {bg=NONE, fg=FG, style='bold' }, markdownH18 = {bg=NONE, fg=FG, style='bold' },
markdownH4 = {bg=NONE, fg=FG, style='bold' }, markdownH20 = {bg=NONE, fg=FG, style='bold' },
markdownH5 = {bg=NONE, fg=FG, style='bold' }, markdownH22 = {bg=NONE, fg=FG, style='bold' },
markdownH6 = {bg=NONE, fg=FG, style='bold' }, markdownH24 = {bg=NONE, fg=FG, style='bold' },
mkdCode = {link='Comment' }, mkdCode = {link='Comment' },
mkdItalic = {bg=NONE, fg=green, style='italic'}, mkdItalic = {bg=NONE, fg=green, style='italic'},
--[[ 3.0. Python ]] --[[ 4.3.19. Python ]]
pythonBrackets = {link='Delimiter' }, pythonBrackets = {link='Delimiter' },
pythonBuiltinFunc = {link='Operator' }, pythonBuiltinFunc = {link='Operator' },
pythonBuiltinObj = {link='Type' }, pythonBuiltinObj = {link='Type' },
@ -391,38 +397,38 @@ local highlights = {
pythonSpaceError = {link='pythonError' }, pythonSpaceError = {link='pythonError' },
pythonStatement = {link='Statement' }, pythonStatement = {link='Statement' },
--[[ 3.0. Ruby ]] --[[ 4.3.20. Ruby ]]
rubyClass = {link='Structure'}, rubyClass = {link='Structure'},
rubyDefine = {link='Define' }, rubyDefine = {link='Define' },
rubyInterpolationDelimiter = {link='Delimiter'}, rubyInterpolationDelimiter = {link='Delimiter'},
--[[ 3.0. Rust ]] --[[ 4.3.21. Rust ]]
rustKeyword = {link='Keyword' }, rustKeyword = {link='Keyword' },
rustModPath = {link='Include' }, rustModPath = {link='Include' },
rustScopeDecl = {link='Delimiter' }, rustScopeDecl = {link='Delimiter' },
rustTrait = {link='StorageClass'}, rustTrait = {link='StorageClass'},
--[[ 3.0. Scala ]] --[[ 4.3.22. Scala ]]
scalaKeyword = {link='Keyword' }, scalaKeyword = {link='Keyword' },
scalaNameDefinition = {link='Identifier'}, scalaNameDefinition = {link='Identifier'},
--[[ 3.0. shell ]] --[[ 4.3.23. shell ]]
shFunctionKey = {link='Function' }, shFunctionKey = {link='Function' },
shLoop = {link='Repeat' }, shLoop = {link='Repeat' },
shSet = {link='Statement'}, shSet = {link='Statement'},
shTestOpr = {link='Debug' }, shTestOpr = {link='Debug' },
--[[ 3.0. Solidity ]] --[[ 4.3.24. Solidity ]]
solBuiltinType = {link='Type' }, solBuiltinType = {link='Type' },
solContract = {link='Typedef' }, solContract = {link='Typedef' },
solContractName = {link='Function'}, solContractName = {link='Function'},
--[[ 3.0. TOML ]] --[[ 4.3.25. TOML ]]
tomlComment = {link='Comment' }, tomlComment = {link='Comment' },
tomlKey = {link='Label' }, tomlKey = {link='Label' },
tomlTable = {link='StorageClass'}, tomlTable = {link='StorageClass'},
--[[ 3.0. VimScript ]] --[[ 4.3.26. VimScript ]]
vimCommand = {link='Keyword' }, vimCommand = {link='Keyword' },
vimFuncKey = {link='Function' }, vimFuncKey = {link='Function' },
vimGroup = {link='Type' }, vimGroup = {link='Type' },
@ -430,25 +436,25 @@ local highlights = {
vimLet = {link='Operator' }, vimLet = {link='Operator' },
vimMap = {link='vimCommand'}, vimMap = {link='vimCommand'},
--[[ 3.0. XML ]] --[[ 4.3.27. XML ]]
xmlEndTag = {link='xmlTag' }, xmlEndTag = {link='xmlTag' },
xmlTag = {link='Delimiter'}, xmlTag = {link='Delimiter'},
xmlTagName = {link='Keyword' }, xmlTagName = {link='Keyword' },
--[[ 4. Plugins --[[ 4.4. Plugins
Everything in this section is OPTIONAL. Feel free to remove everything 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 here if you don't want to define it, or add more if there's something
missing. missing.
]] ]]
--[[ 4.0. ALE ]] --[[ 4.4.1. ALE ]]
ALEErrorSign = {link = 'Error' }, ALEErrorSign = {link = 'Error' },
ALEWarningSign = {link = 'Warning'}, ALEWarningSign = {link = 'Warning'},
--[[ 4.0. vim-jumpmotion / vim-easymotion ]] --[[ 4.4.2. vim-jumpmotion / vim-easymotion ]]
EasyMotion = {link = 'IncSearch' }, EasyMotion = {link = 'IncSearch' },
JumpMotion = {link = 'EasyMotion'}, JumpMotion = {link = 'EasyMotion'},
--[[ 4.0. vim-markdown ]] --[[ 4.4.3. vim-markdown ]]
htmlH1 = {link='markdownH1'}, htmlH1 = {link='markdownH1'},
htmlH2 = {link='markdownH2'}, htmlH2 = {link='markdownH2'},
htmlH3 = {link='markdownH3'}, htmlH3 = {link='markdownH3'},
@ -456,7 +462,7 @@ local highlights = {
htmlH5 = {link='markdownH5'}, htmlH5 = {link='markdownH5'},
htmlH6 = {link='markdownH6'}, htmlH6 = {link='markdownH6'},
--[[ 4.0. vim-gitgutter / vim-signify ]] --[[ 4.4.4. vim-gitgutter / vim-signify ]]
GitGutterAdd = {bg=NONE, fg=green, style=NONE}, GitGutterAdd = {bg=NONE, fg=green, style=NONE},
GitGutterChange = {bg=NONE, fg=yellow, style=NONE}, GitGutterChange = {bg=NONE, fg=yellow, style=NONE},
GitGutterDelete = {bg=NONE, fg=red, style=NONE}, GitGutterDelete = {bg=NONE, fg=red, style=NONE},
@ -467,17 +473,11 @@ local highlights = {
SignifySignDelete = {link='GitGutterDelete' }, SignifySignDelete = {link='GitGutterDelete' },
SignifySignChangeDelete = {link='GitGutterChangeDelete'}, SignifySignChangeDelete = {link='GitGutterChangeDelete'},
--[[ 4.0. vim-indent-guides ]] --[[ 4.4.5. vim-indent-guides ]]
IndentGuidesOdd = {bg=gray_darker, fg=NONE, style=NONE}, IndentGuidesOdd = {bg=gray_darker, fg=NONE, style=NONE},
IndentGuidesEven = {bg=gray_dark, fg=NONE, style=NONE}, IndentGuidesEven = {bg=gray_dark, fg=NONE, style=NONE},
--[[ 4.0. vim-signify ]] --[[ 4.4.7. NERDTree ]]
SignifySignAdd = {bg=NONE, fg=green, style = 'bold'},
SignifySignChange = {bg=NONE, fg=yellow, style = 'bold'},
SignifySignDelete = {bg=NONE, fg=red, style = 'bold'},
SignifySignChangeDelete = {bg=None, fg=orange, style = 'bold'},
--[[ 4.0. NERDTree ]]
NERDTreeCWD = {link='Label' }, NERDTreeCWD = {link='Label' },
NERDTreeUp = {link='Operator' }, NERDTreeUp = {link='Operator' },
NERDTreeDir = {link='Directory' }, NERDTreeDir = {link='Directory' },