aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/mode.vim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/mode.vim')
-rw-r--r--.config/nvim/mode.vim13
1 files changed, 3 insertions, 10 deletions
diff --git a/.config/nvim/mode.vim b/.config/nvim/mode.vim
index 3ab04cb..e1deaca 100644
--- a/.config/nvim/mode.vim
+++ b/.config/nvim/mode.vim
@@ -1,15 +1,8 @@
" this file should only contain colorscheme information, and sourcing it
" should cause colors set by `mode` to update in an existing neovim session
-
-if filereadable(expand("$XDG_DATA_HOME/mode/light"))
- colorscheme github-light
-else
- colorscheme ghdark
-endif
-
-source $XDG_CONFIG_HOME/nvim/termcolors.vim
-
-source $XDG_CONFIG_HOME/nvim/lightline.vim
+source $XDG_CONFIG_HOME/nvim/mode/colorscheme.vim
+source $XDG_CONFIG_HOME/nvim/mode/termcolors.vim
+source $XDG_CONFIG_HOME/nvim/mode/lightline.vim
call lightline#colorscheme()
source $XDG_CONFIG_HOME/nvim/color-tweaks.vim