-
Notifications
You must be signed in to change notification settings - Fork 454
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add syntax adjustments on demand + add php & typescript (#77)
- Loading branch information
Showing
14 changed files
with
244 additions
and
219 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
if ! exists('b:current_syntax') || b:current_syntax !=# 'css' | ||
finish | ||
endif | ||
|
||
hi! link cssAttrComma Delimiter | ||
hi! link cssAttrRegion DraculaPink | ||
hi! link cssAttributeSelector DraculaGreenItalic | ||
hi! link cssBraces Delimiter | ||
hi! link cssFunctionComma Delimiter | ||
hi! link cssNoise DraculaPink | ||
hi! link cssProp DraculaCyan | ||
hi! link cssPseudoClassId DraculaGreenItalic | ||
hi! link cssSelectorOp Delimiter | ||
hi! link cssUnitDecorators DraculaPink | ||
hi! link cssVendor DraculaGreenItalic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
if ! exists('b:current_syntax') || b:current_syntax !=# 'gitcommit' | ||
finish | ||
endif | ||
|
||
" The following two are misnomers. Colors are correct. | ||
hi! link diffFile DraculaGreen | ||
hi! link diffNewFile DraculaRed | ||
|
||
hi! link diffAdded DraculaGreen | ||
hi! link diffLine DraculaCyanItalic | ||
hi! link diffRemoved DraculaRed | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
if ! exists('b:current_syntax') || b:current_syntax !=# 'html' | ||
finish | ||
endif | ||
|
||
hi! link htmlTag DraculaFg | ||
hi! link htmlArg DraculaGreenItalic | ||
hi! link htmlTitle DraculaFg | ||
hi! link htmlH1 DraculaFg | ||
hi! link htmlSpecialChar DraculaPurple |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
if ! exists('b:current_syntax') || b:current_syntax !=# 'javascript' | ||
finish | ||
endif | ||
|
||
hi! link javaScriptBraces Delimiter | ||
hi! link javaScriptNumber Constant | ||
hi! link javaScriptNull Constant | ||
hi! link javaScriptFunction DraculaPink | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
if ! exists('b:current_syntax') | ||
finish | ||
endif | ||
|
||
if b:current_syntax ==# 'mkd' | ||
" plasticboy/vim-markdown {{{1 | ||
hi! link htmlBold DraculaOrangeBold | ||
hi! link htmlBoldItalic DraculaOrangeBoldItalic | ||
hi! link htmlH1 DraculaPurpleBold | ||
hi! link htmlItalic DraculaYellowItalic | ||
hi! link mkdBlockquote DraculaYellowItalic | ||
hi! link mkdBold DraculaOrangeBold | ||
hi! link mkdBoldItalic DraculaOrangeBoldItalic | ||
hi! link mkdCode DraculaGreen | ||
hi! link mkdCodeEnd DraculaGreen | ||
hi! link mkdCodeStart DraculaGreen | ||
hi! link mkdInlineUrl DraculaLink | ||
hi! link mkdItalic DraculaYellowItalic | ||
hi! link mkdLink DraculaPink | ||
hi! link mkdListItem DraculaCyan | ||
hi! link mkdRule DraculaComment | ||
hi! link mkdUrl DraculaLink | ||
"}}}1 | ||
elseif b:current_syntax ==# 'markdown' | ||
" Builtin: {{{1 | ||
hi! link markdownBlockquote DraculaCyan | ||
hi! link markdownBold DraculaOrangeBold | ||
hi! link markdownBoldItalic DraculaOrangeBoldItalic | ||
hi! link markdownCode DraculaGreen | ||
hi! link markdownCodeDelimiter DraculaGreen | ||
hi! link markdownH1 DraculaPurpleBold | ||
hi! link markdownH2 markdownH1 | ||
hi! link markdownH3 markdownH1 | ||
hi! link markdownH4 markdownH1 | ||
hi! link markdownH5 markdownH1 | ||
hi! link markdownH6 markdownH1 | ||
hi! link markdownHeadingDelimiter markdownH1 | ||
hi! link markdownHeadingRule markdownH1 | ||
hi! link markdownItalic DraculaYellowItalic | ||
hi! link markdownLinkText DraculaPink | ||
hi! link markdownListMarker DraculaCyan | ||
hi! link markdownOrderedListMarker DraculaCyan | ||
hi! link markdownRule DraculaComment | ||
hi! link markdownUrl DraculaLink | ||
"}}} | ||
endif | ||
|
||
" vim: fdm=marker ts=2 sts=2 sw=2: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
if ! exists('b:current_syntax') || b:current_syntax !=# 'php' | ||
finish | ||
endif | ||
|
||
hi! link phpClass Type | ||
hi! link phpDocTags DraculaCyanItalic | ||
hi! link phpFunction Function | ||
hi! link phpParent Normal | ||
hi! link phpSpecialFunction DraculaCyan |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
if ! exists('b:current_syntax') || b:current_syntax !=# 'ruby' | ||
finish | ||
endif | ||
|
||
if ! exists('g:ruby_operators') | ||
let g:ruby_operators=1 | ||
endif | ||
|
||
hi! link rubyBlockArgument DraculaOrangeItalic | ||
hi! link rubyBlockParameter DraculaOrangeItalic | ||
hi! link rubyCurlyBlock DraculaPink | ||
hi! link rubyGlobalVariable DraculaPurple | ||
hi! link rubyInstanceVariable DraculaPurpleItalic | ||
hi! link rubyInterpolationDelimiter DraculaPink | ||
hi! link rubyRegexpDelimiter DraculaRed | ||
hi! link rubyStringDelimiter DraculaYellow |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
if ! exists('b:current_syntax') || b:current_syntax !=# 'sass' | ||
finish | ||
endif | ||
|
||
hi! link sassClass cssClassName | ||
hi! link sassClassChar cssClassNameDot | ||
hi! link sassId cssIdentifier | ||
hi! link sassIdChar cssIdentifier | ||
hi! link sassInterpolationDelimiter DraculaPink | ||
hi! link sassMixinName Function | ||
hi! link sassProperty cssProp | ||
hi! link sassVariableAssignment Operator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
if ! exists('b:current_syntax') || b:current_syntax !=# 'typescript' | ||
finish | ||
endif | ||
|
||
hi! link typescriptArrayMethod DraculaCyan | ||
hi! link typescriptArrowFuncArg DraculaOrangeItalic | ||
hi! link typescriptAssign Operator | ||
hi! link typescriptBinaryOp Operator | ||
hi! link typescriptBraces Normal | ||
hi! link typescriptCall typescriptArrowFuncArg | ||
hi! link typescriptClassHeritage Type | ||
hi! link typescriptClassName Type | ||
hi! link typescriptDateMethod DraculaCyan | ||
hi! link typescriptDateStaticMethod Function | ||
hi! link typescriptDecorator DraculaGreenItalic | ||
hi! link typescriptES6SetMethod DraculaCyan | ||
hi! link typescriptEndColons Normal | ||
hi! link typescriptEnum Type | ||
hi! link typescriptEnumKeyword Keyword | ||
hi! link typescriptFuncKeyword Keyword | ||
hi! link typescriptGlobal Type | ||
hi! link typescriptGlobalMethod DraculaCyan | ||
hi! link typescriptGlobalObjects Type | ||
hi! link typescriptIdentifier Keyword | ||
hi! link typescriptInterfaceHeritage Type | ||
hi! link typescriptInterfaceName Type | ||
hi! link typescriptInterpolationDelimiter Keyword | ||
hi! link typescriptKeywordOp Keyword | ||
hi! link typescriptLogicSymbols Operator | ||
hi! link typescriptMember Normal | ||
hi! link typescriptMemberOptionality Special | ||
hi! link typescriptObjectColon Special | ||
hi! link typescriptObjectLabel Normal | ||
hi! link typescriptObjectSpread Operator | ||
hi! link typescriptOperator Operator | ||
hi! link typescriptPredefinedType Type | ||
hi! link typescriptTernaryOp Operator | ||
hi! link typescriptTypeAnnotation Special | ||
hi! link typescriptTypeCast Operator | ||
hi! link typescriptUnaryOp Operator | ||
hi! link typescriptVariable Keyword |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
if ! exists('b:current_syntax') || b:current_syntax !=# 'vim' | ||
finish | ||
endif | ||
|
||
hi! link vimAutoCmdSfxList DraculaCyanItalic | ||
hi! link vimAutoEventList DraculaCyanItalic | ||
hi! link vimEnvVar DraculaPurple | ||
hi! link vimFunction DraculaGreen | ||
hi! link vimHiBang DraculaPink | ||
hi! link vimOption DraculaCyanItalic | ||
hi! link vimSetMod DraculaPink | ||
hi! link vimSetSep Delimiter | ||
hi! link vimUserAttrbCmpltFunc DraculaGreen | ||
hi! link vimUserFunc DraculaGreen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
if ! exists('b:current_syntax') || b:current_syntax !=# 'yaml' | ||
finish | ||
endif | ||
|
||
hi! link yamlAlias DraculaGreenItalicUnderline | ||
hi! link yamlAnchor DraculaPinkItalic | ||
hi! link yamlBlockMappingKey DraculaCyan | ||
hi! link yamlFlowCollection DraculaPink | ||
hi! link yamlFlowIndicator Delimiter | ||
hi! link yamlNodeTag DraculaPink | ||
hi! link yamlPlainScalar DraculaYellow | ||
|
Oops, something went wrong.