From 0fa454aadb079f37103827b7b1d8f42c0d5ddcb8 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Mon, 17 Aug 2020 17:27:04 +0200 Subject: [PATCH] Configure vim to respect $HOME/.dark file --- vim/plugin/colors.vim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vim/plugin/colors.vim b/vim/plugin/colors.vim index 0928b59..73d8505 100644 --- a/vim/plugin/colors.vim +++ b/vim/plugin/colors.vim @@ -50,6 +50,12 @@ com! Iceberg colorscheme iceberg com! Papercolor colorscheme PaperColor | delc PaperColor com! Firewatch colorscheme two-firewatch +if filereadable($HOME."/.dark") + Dark +else + Light +end + if $TERM=="xterm-kitty" Arcadia end