Skip to content

Commit

Permalink
vim(color): Add support for the :terminal feature in vim 8.1 & JS sty…
Browse files Browse the repository at this point in the history
…ling improvements

(morhetz/gruvbox#212 & morhetz/gruvbox#246)
  • Loading branch information
voldikss committed May 1, 2019
1 parent ecdf7f8 commit 7644f47
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions vim/.vim/colors/gruvbox.vim
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
" -----------------------------------------------------------------------------
" Maintainer: VOLDIKSS <[email protected]>
" File: gruvbox.vim
" Description: Retro groove color scheme for Vim
" Author: morhetz <[email protected]>
Expand Down Expand Up @@ -295,6 +296,8 @@ if has('nvim')

let g:terminal_color_7 = s:fg4[0]
let g:terminal_color_15 = s:fg1[0]
elseif has('terminal')
let g:terminal_ansi_colors = [ s:bg0[0], s:gb.neutral_red[0], s:gb.neutral_green[0], s:gb.neutral_yellow[0], s:gb.neutral_blue[0], s:gb.neutral_purple[0], s:gb.neutral_aqua[0], s:fg4[0],s:gray[0], s:red[0], s:green[0], s:yellow[0], s:blue[0], s:purple[0], s:aqua[0], s:fg1[0] ]
endif

" }}}
Expand Down Expand Up @@ -1156,8 +1159,9 @@ hi! link jsClassKeyword GruvboxAqua
hi! link jsExtendsKeyword GruvboxAqua
hi! link jsExportDefault GruvboxAqua
hi! link jsTemplateBraces GruvboxAqua
hi! link jsGlobalNodeObjects GruvboxFg1
hi! link jsGlobalObjects GruvboxFg1
hi! link jsGlobalNodeObjects GruvboxBlue
hi! link jsGlobalObjects GruvboxBlue
hi! link jsObjectKey GruvboxGreenBold
hi! link jsFunction GruvboxAqua
hi! link jsFuncParens GruvboxFg3
hi! link jsParens GruvboxFg3
Expand Down

0 comments on commit 7644f47

Please sign in to comment.