aboutsummaryrefslogtreecommitdiff
path: root/colors/base16-dracula.vim
diff options
context:
space:
mode:
authorDaniel Wennberg <daniel.wennberg@gmail.com>2019-02-15 14:12:00 -0800
committerDaniel Wennberg <daniel.wennberg@gmail.com>2019-02-15 14:12:00 -0800
commita40a4514ce82619e32028d39966a2fa61ebbf7e4 (patch)
treea09e90223bbbc4cb176ad70fb5c2200e9f96faef /colors/base16-dracula.vim
parent2073e2dd9fa0172ccdba92b3f0df25642a69f7db (diff)
Use local variables, don't modify a: dict
Diffstat (limited to 'colors/base16-dracula.vim')
-rw-r--r--colors/base16-dracula.vim44
1 files changed, 22 insertions, 22 deletions
diff --git a/colors/base16-dracula.vim b/colors/base16-dracula.vim
index 4b8517a..6e70c5d 100644
--- a/colors/base16-dracula.vim
+++ b/colors/base16-dracula.vim
@@ -19,10 +19,10 @@ let s:gui00 = "282936"
let g:base16_gui00 = "282936"
let s:gui01 = "3a3c4e"
let g:base16_gui01 = "3a3c4e"
-let s:gui02 = "626483"
-let g:base16_gui02 = "626483"
-let s:gui03 = "4d4f68"
-let g:base16_gui03 = "4d4f68"
+let s:gui02 = "4d4f68"
+let g:base16_gui02 = "4d4f68"
+let s:gui03 = "626483"
+let g:base16_gui03 = "626483"
let s:gui04 = "62d6e8"
let g:base16_gui04 = "62d6e8"
let s:gui05 = "e9e9f4"
@@ -35,10 +35,10 @@ let s:gui08 = "ea51b2"
let g:base16_gui08 = "ea51b2"
let s:gui09 = "b45bcf"
let g:base16_gui09 = "b45bcf"
-let s:gui0A = "ebff87"
-let g:base16_gui0A = "ebff87"
-let s:gui0B = "00f769"
-let g:base16_gui0B = "00f769"
+let s:gui0A = "00f769"
+let g:base16_gui0A = "00f769"
+let s:gui0B = "ebff87"
+let g:base16_gui0B = "ebff87"
let s:gui0C = "a1efe4"
let g:base16_gui0C = "a1efe4"
let s:gui0D = "62d6e8"
@@ -101,16 +101,16 @@ endif
if has("nvim")
let g:terminal_color_0 = "#282936"
let g:terminal_color_1 = "#ea51b2"
- let g:terminal_color_2 = "#00f769"
- let g:terminal_color_3 = "#ebff87"
+ let g:terminal_color_2 = "#ebff87"
+ let g:terminal_color_3 = "#00f769"
let g:terminal_color_4 = "#62d6e8"
let g:terminal_color_5 = "#b45bcf"
let g:terminal_color_6 = "#a1efe4"
let g:terminal_color_7 = "#e9e9f4"
- let g:terminal_color_8 = "#4d4f68"
+ let g:terminal_color_8 = "#626483"
let g:terminal_color_9 = "#ea51b2"
- let g:terminal_color_10 = "#00f769"
- let g:terminal_color_11 = "#ebff87"
+ let g:terminal_color_10 = "#ebff87"
+ let g:terminal_color_11 = "#00f769"
let g:terminal_color_12 = "#62d6e8"
let g:terminal_color_13 = "#b45bcf"
let g:terminal_color_14 = "#a1efe4"
@@ -125,16 +125,16 @@ elseif has('terminal')
let g:terminal_ansi_colors = [
\ "#282936",
\ "#ea51b2",
- \ "#00f769",
\ "#ebff87",
+ \ "#00f769",
\ "#62d6e8",
\ "#b45bcf",
\ "#a1efe4",
\ "#e9e9f4",
- \ "#4d4f68",
+ \ "#626483",
\ "#ea51b2",
- \ "#00f769",
\ "#ebff87",
+ \ "#00f769",
\ "#62d6e8",
\ "#b45bcf",
\ "#a1efe4",
@@ -150,8 +150,8 @@ let g:colors_name = "base16-dracula"
" Highlighting function
" Optional variables are attributes and guisp
function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...)
- let a:attr = get(a:, 1, "")
- let a:guisp = get(a:, 2, "")
+ let l:attr = get(a:, 1, "")
+ let l:guisp = get(a:, 2, "")
if a:guifg != ""
exec "hi " . a:group . " guifg=#" . a:guifg
@@ -165,11 +165,11 @@ function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...)
if a:ctermbg != ""
exec "hi " . a:group . " ctermbg=" . a:ctermbg
endif
- if a:attr != ""
- exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr
+ if l:attr != ""
+ exec "hi " . a:group . " gui=" . l:attr . " cterm=" . l:attr
endif
- if a:guisp != ""
- exec "hi " . a:group . " guisp=#" . a:guisp
+ if l:guisp != ""
+ exec "hi " . a:group . " guisp=#" . l:guisp
endif
endfunction