aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arctic Ice Studio <development@arcticicestudio.com>2017-10-21 17:17:05 +0200
committerGravatar GitHub <noreply@github.com>2017-10-21 17:17:05 +0200
commitaf01167b71c2c7401d88570aeb8a1bb2d083b2ad (patch)
tree5ec43c3ccbe9acf86f11467a4e62e9a403b7a5e1
parent2f90d9e30b8aa25472b7e2265ceaeed485fa4b59 (diff)
parentcaca2caec5012329f0f0fbb4e9c462575a8aa4c8 (diff)
downloadnord-vim-af01167b71c2c7401d88570aeb8a1bb2d083b2ad.tar.gz
Merge pull request #63 from meck/develop
Added support for neovim UI terminal colors
-rwxr-xr-xcolors/nord.vim20
1 files changed, 20 insertions, 0 deletions
diff --git a/colors/nord.vim b/colors/nord.vim
index a82219c..ef368ab 100755
--- a/colors/nord.vim
+++ b/colors/nord.vim
@@ -148,6 +148,26 @@ call s:hi("healthError", s:nord11_gui, s:nord1_gui, s:nord11_term, s:nord1_term,
call s:hi("healthSuccess", s:nord14_gui, s:nord1_gui, s:nord14_term, s:nord1_term, "", "")
call s:hi("healthWarning", s:nord13_gui, s:nord1_gui, s:nord13_term, s:nord1_term, "", "")
+"+- Neovim Terminal Colors -+
+if has('nvim')
+ let g:terminal_color_0 = s:nord1_gui
+ let g:terminal_color_1 = s:nord11_gui
+ let g:terminal_color_2 = s:nord14_gui
+ let g:terminal_color_3 = s:nord13_gui
+ let g:terminal_color_4 = s:nord9_gui
+ let g:terminal_color_5 = s:nord15_gui
+ let g:terminal_color_6 = s:nord8_gui
+ let g:terminal_color_7 = s:nord5_gui
+ let g:terminal_color_8 = s:nord3_gui
+ let g:terminal_color_9 = s:nord11_gui
+ let g:terminal_color_10 = s:nord14_gui
+ let g:terminal_color_11 = s:nord13_gui
+ let g:terminal_color_12 = s:nord9_gui
+ let g:terminal_color_13 = s:nord15_gui
+ let g:terminal_color_14 = s:nord7_gui
+ let g:terminal_color_15 = s:nord6_gui
+endif
+
"+--- Gutter ---+
call s:hi("CursorColumn", "", s:nord1_gui, "NONE", s:nord1_term, "", "")
call s:hi("CursorLineNr", s:nord3_gui, s:nord0_gui, "NONE", "", "", "")