Extract theme information out of vim

This commit is contained in:
EEva (JPotier) 2020-03-05 19:25:48 +02:00
parent 239d11a3d9
commit 8ec0d21f42

View file

@ -1,4 +1,6 @@
{ pkgs
, extraPlugins ? []
, extraOptions ? ""
, ...
}:
@ -53,7 +55,6 @@ let
vimrcConfig.packages.myVimPackage = with pkgs.vimPlugins; with plugins; {
# loaded on launch
start = [
Solarized
calendar-vim
dhall-vim
fzf-vim
@ -77,7 +78,7 @@ let
vim-timedot
vimtex
vimwiki
];
] // extraPlugins;
# manually loadable by calling `:packadd $plugin-name`
opt = [
];
@ -110,19 +111,14 @@ let
syntax enable
if has('gui_running')
" When gui is running, it pretty much sets its own colors
set background=dark
set guifont=Victor\ Mono\ 14
set notitle
set guioptions=a
else
" If we're in a terminal, then we stay default, terminal will choose
" which colors it likes.
set background=dark
endif
let g:solarized_termcolors=16
let g:airline_solarized_bg='dark'
colorscheme solarized
" Set line numbering
set number