aboutsummaryrefslogtreecommitdiffstats
path: root/colors/nord.vim
diff options
context:
space:
mode:
authorGravatar meck <johan@meck.se>2017-10-14 00:30:56 +0200
committerGravatar meck <johan@meck.se>2017-10-14 00:30:56 +0200
commitcaca2caec5012329f0f0fbb4e9c462575a8aa4c8 (patch)
tree5ec43c3ccbe9acf86f11467a4e62e9a403b7a5e1 /colors/nord.vim
parent2f90d9e30b8aa25472b7e2265ceaeed485fa4b59 (diff)
downloadnord-vim-caca2caec5012329f0f0fbb4e9c462575a8aa4c8.tar.gz
Added support for neovim UI terminal colors
Diffstat (limited to 'colors/nord.vim')
-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", "", "", "")