From 0e442f2a47196a1d575ebc57768f604458969c75 Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Mon, 10 Aug 2020 12:02:45 +0900 Subject: [PATCH] Fix custom --- autoload/deoppet/custom.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/autoload/deoppet/custom.vim b/autoload/deoppet/custom.vim index 7064575..9f0dcdf 100644 --- a/autoload/deoppet/custom.vim +++ b/autoload/deoppet/custom.vim @@ -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 @@ -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