aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-10 16:56:06 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-10 16:58:04 +1200
commit2faccd64ed40c75a78b6d0ac24f4b7e76bd2fc02 (patch)
tree5171d905e9dfb5d0a6b0d9019f94bd69e41cd26f
parentRefactor vimrc reload and source hooks (diff)
downloaddotfiles-2faccd64ed40c75a78b6d0ac24f4b7e76bd2fc02.tar.gz
dotfiles-2faccd64ed40c75a78b6d0ac24f4b7e76bd2fc02.zip
Explicitly set colorscheme to default on load fail
-rw-r--r--vim/vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index eda0e98b..0ca2ae13 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -952,7 +952,7 @@ try
colorscheme sahara
set cursorline
catch
- syntax reset
+ colorscheme default
set background=dark
set nocursorline
endtry