summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
authoraktersnurra <grydholm@kth.se>2021-02-16 22:48:28 +0100
committeraktersnurra <grydholm@kth.se>2021-02-16 22:48:28 +0100
commitadd7517e60b0cf427208867b505b616bacec8680 (patch)
tree72a0325a2f1fab4d2b561e9ed78970c7bca475bb /.config/nvim
parent8ea1f5ef4574c627bc90360b9e22c60226879c5b (diff)
fixed color bug in tmux, and option key usage on mac in alacritty
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/themes/nord.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/.config/nvim/themes/nord.vim b/.config/nvim/themes/nord.vim
index ec15ad6..47c38ec 100644
--- a/.config/nvim/themes/nord.vim
+++ b/.config/nvim/themes/nord.vim
@@ -1,15 +1,15 @@
" Prevents the colorscheme from loading a custom bg color.
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
-let g:onedark_hide_endofbuffer=1
-let g:onedark_terminal_italics=1
-let g:onedark_termcolors=256
syntax on
colorscheme nord
-
" checks if your terminal has 24-bit color support
if (has("termguicolors"))
set termguicolors