Skip to content

Commit

Permalink
Fix custom
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Aug 10, 2020
1 parent 0e15e3a commit 0e442f2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions autoload/deoppet/custom.vim
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ function! deoppet#custom#_get() abort
return s:custom
endfunction
function! deoppet#custom#_get_buffer() abort
if !exists('b:custom')
if !exists('b:deoppet_custom')
call deoppet#custom#_init_buffer()
endif

return b:custom
return b:deoppet_custom
endfunction

function! deoppet#custom#_init() abort
Expand All @@ -27,8 +27,8 @@ function! deoppet#custom#_init() abort
let s:cached.option = {}
endfunction
function! deoppet#custom#_init_buffer() abort
let b:custom = {}
let b:custom.option = {}
let b:deoppet_custom = {}
let b:deoppet_custom.option = {}
endfunction

function! deoppet#custom#_update_cache() abort
Expand Down

0 comments on commit 0e442f2

Please sign in to comment.