aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/nvim
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-09-20 19:09:56 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-09-20 19:09:56 +0300
commit5ec55f35744239e6a25ed651c5b87335a04653b6 (patch)
treeba46d6605da25c89dd4861953cc54e6af5a9e386 /dotfiles/.config/nvim
parentfe74d80789ea81faed229439d2ee5db13307dda9 (diff)
downloadvimrice-5ec55f35744239e6a25ed651c5b87335a04653b6.tar.gz
vimrice-5ec55f35744239e6a25ed651c5b87335a04653b6.zip
Edit colorscheme to allow for non-"opaque" bg
With this option, now it is possible to not set the text background and use instead the terminal's one background, for example, if one wants to use a terminal with transparency.
Diffstat (limited to 'dotfiles/.config/nvim')
-rw-r--r--dotfiles/.config/nvim/init.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim
index af02383..f2525d3 100644
--- a/dotfiles/.config/nvim/init.vim
+++ b/dotfiles/.config/nvim/init.vim
@@ -8,6 +8,8 @@ if empty(glob('~/.local/share/nvim/site/autoload/plug.vim'))
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
+" TODO: bind to insert datetime
+
call plug#begin('~/.local/share/nvim/site/plugged')
Plug 'junegunn/goyo.vim'
Plug 'PotatoesMaster/i3-vim-syntax'
@@ -47,8 +49,9 @@ call plug#end()
set number
" Colors
- colorscheme ultramar
let g:ultramar_italic=1
+ let g:ultramar_opaque_bg=0
+ colorscheme ultramar
if $COLORSCHEME == "light"
set background=light
endif