summaryrefslogtreecommitdiff
path: root/.config/nvim/themes/nord.vim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/themes/nord.vim')
-rw-r--r--.config/nvim/themes/nord.vim5
1 files changed, 2 insertions, 3 deletions
diff --git a/.config/nvim/themes/nord.vim b/.config/nvim/themes/nord.vim
index 47c38ec..dc301c8 100644
--- a/.config/nvim/themes/nord.vim
+++ b/.config/nvim/themes/nord.vim
@@ -2,9 +2,6 @@
autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=NONE
-let &t_8f = "\<Esc>[38:2:%lu:%lu:%lum"
-let &t_8b = "\<Esc>[48:2:%lu:%lu:%lum"
-
hi Comment cterm=italic
syntax on
@@ -12,6 +9,8 @@ colorscheme nord
" checks if your terminal has 24-bit color support
if (has("termguicolors"))
+ let &t_8f="\<Esc>[38;2;%lu;%lu;%lum"
+ let &t_8b="\<Esc>[48;2;%lu;%lu;%lum"
set termguicolors
hi LineNr ctermbg=NONE guibg=NONE
endif