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.vim16
1 files changed, 16 insertions, 0 deletions
diff --git a/.config/nvim/mode.vim b/.config/nvim/mode.vim
new file mode 100644
index 0000000..3ab04cb
--- /dev/null
+++ b/.config/nvim/mode.vim
@@ -0,0 +1,16 @@
+" 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
+call lightline#colorscheme()
+
+source $XDG_CONFIG_HOME/nvim/color-tweaks.vim
+