aboutsummaryrefslogtreecommitdiff
path: root/colors
diff options
context:
space:
mode:
authorYa Zhuang <zhuangya@users.noreply.github.com>2016-12-03 03:59:55 +0800
committerIke Ku <dempfi@yahoo.com>2016-12-02 21:59:55 +0200
commit3b0544b26a22d90c1d4eba84ebb13c26c9669fd6 (patch)
tree0a0be69989deb9530f4b17657d93421e5565cea5 /colors
parent3aa5d04ae62ea9ae0b1ffe8fc3bd675050ba2dc4 (diff)
fix: get fallback setting for "style" (#8)
fix #7
Diffstat (limited to 'colors')
-rw-r--r--colors/ayu.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/colors/ayu.vim b/colors/ayu.vim
index 9a6615c..83002ba 100644
--- a/colors/ayu.vim
+++ b/colors/ayu.vim
@@ -5,7 +5,7 @@ if exists("syntax_on")
syntax reset
endif
-let s:style = g:ayucolor
+let s:style = get(g:, 'ayucolor', 'dark')
let g:colors_name = "ayu"
"}}}