diff options
-rw-r--r-- | templates/default.mustache | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/templates/default.mustache b/templates/default.mustache index a3fd991..1306342 100644 --- a/templates/default.mustache +++ b/templates/default.mustache @@ -59,6 +59,32 @@ else let s:cterm0F = "14" endif +" Neovim terminal colours +if has("nvim") + let g:terminal_color_0 = "#{{base00-hex}}" + let g:terminal_color_1 = "#{{base08-hex}}" + let g:terminal_color_2 = "#{{base0B-hex}}" + let g:terminal_color_3 = "#{{base0A-hex}}" + let g:terminal_color_4 = "#{{base0D-hex}}" + let g:terminal_color_5 = "#{{base0E-hex}}" + let g:terminal_color_6 = "#{{base0C-hex}}" + let g:terminal_color_7 = "#{{base05-hex}}" + let g:terminal_color_8 = "#{{base03-hex}}" + let g:terminal_color_9 = "#{{base09-hex}}" + let g:terminal_color_10 = "#{{base01-hex}}" + let g:terminal_color_11 = "#{{base02-hex}}" + let g:terminal_color_12 = "#{{base04-hex}}" + let g:terminal_color_13 = "#{{base06-hex}}" + let g:terminal_color_14 = "#{{base0F-hex}}" + let g:terminal_color_15 = "#{{base07-hex}}" + let g:terminal_color_background = g:terminal_color_0 + let g:terminal_color_foreground = g:terminal_color_7 + if &background == "light" + let g:terminal_color_background = g:terminal_color_7 + let g:terminal_color_foreground = g:terminal_color_2 + endif +endif + " Theme setup hi clear syntax reset |