misc spec alignment tweaks (#128)

This commit is contained in:
Derek Sifford 2019-02-23 16:08:48 -05:00 committed by GitHub
parent 662fa18855
commit 1e2477db8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 27 additions and 14 deletions

View file

@ -20,19 +20,6 @@ if exists('g:loaded_fzf') && ! exists('g:fzf_colors')
\ 'header': ['fg', 'Comment'] } \ 'header': ['fg', 'Comment'] }
endif endif
"}}} "}}}
" GitGutter: {{{
" FIXME: This can be removed once airblade/vim-gitgutter#520 closes
" see: https://github.com/airblade/vim-gitgutter/issues/520#issuecomment-389931281
if exists('g:gitgutter_enabled')
hi! link GitGutterAdd DraculaGreen
hi! link GitGutterChange DraculaYellow
hi! link GitGutterChangeDelete DraculaOrange
hi! link GitGutterDelete DraculaRed
endif
"}}}
" ALE: {{{ " ALE: {{{
if exists('g:ale_enabled') if exists('g:ale_enabled')
hi! link ALEError DraculaErrorLine hi! link ALEError DraculaErrorLine

View file

@ -5,5 +5,21 @@ endif
hi! link javaScriptBraces Delimiter hi! link javaScriptBraces Delimiter
hi! link javaScriptNumber Constant hi! link javaScriptNumber Constant
hi! link javaScriptNull Constant hi! link javaScriptNull Constant
hi! link javaScriptFunction DraculaPink hi! link javaScriptFunction Keyword
" pangloss/vim-javascript {{{
hi! link jsArrowFunction Operator
hi! link jsClassMethodType Keyword
hi! link jsDestructuringAssignment DraculaOrangeItalic
hi! link jsDocParam DraculaOrangeItalic
hi! link jsDocTags Keyword
hi! link jsDocType Type
hi! link jsDocTypeBrackets DraculaCyan
hi! link jsFuncArgOperator Operator
hi! link jsFunction Keyword
hi! link jsTemplateBraces Special
"}}}
" vim: set fdm=marker fdl=0:

View file

@ -3,6 +3,7 @@ if dracula#should_abort('php')
endif endif
hi! link phpClass Type hi! link phpClass Type
hi! link phpClasses Type
hi! link phpDocTags DraculaCyanItalic hi! link phpDocTags DraculaCyanItalic
hi! link phpFunction Function hi! link phpFunction Function
hi! link phpParent Normal hi! link phpParent Normal

View file

@ -4,6 +4,7 @@ endif
hi! link pythonBuiltinObj Type hi! link pythonBuiltinObj Type
hi! link pythonBuiltinObject Type hi! link pythonBuiltinObject Type
hi! link pythonBuiltinType Type
hi! link pythonExClass Type hi! link pythonExClass Type
hi! link pythonNone Type hi! link pythonNone Type
hi! link pythonRun Comment hi! link pythonRun Comment

View file

@ -56,6 +56,10 @@ let g:airline#themes#dracula#palette = {
\ ['bg', 'purple'], \ ['bg', 'purple'],
\ ['fg', 'comment'], \ ['fg', 'comment'],
\ ['fg', 'bgdark'], \ ['fg', 'bgdark'],
\ {
\ 'airline_warning': s:clr('bg', 'orange'),
\ 'airline_error': s:clr('bg', 'red'),
\ },
\ ), \ ),
\ 'insert': s:color_map( \ 'insert': s:color_map(
\ ['bg', 'green'], \ ['bg', 'green'],
@ -103,6 +107,10 @@ let g:airline#themes#dracula#palette = {
\ ['fg', 'selection'], \ ['fg', 'selection'],
\ ['fg', 'selection'], \ ['fg', 'selection'],
\ ['fg', 'selection'], \ ['fg', 'selection'],
\ {
\ 'airline_warning': s:clr('bg', 'orange'),
\ 'airline_error': s:clr('bg', 'red'),
\ },
\ ), \ ),
\} \}