Use new access functions for global variables -- part 1

Ref #256
This commit is contained in:
EinfachToll
2016-12-21 19:43:34 +01:00
parent 6b34e954e8
commit e6d997867a
7 changed files with 41 additions and 62 deletions

View File

@ -55,7 +55,7 @@ function! s:get_position_links(link) "{{{
endfunction "}}}
fun! s:get_month_name(month) "{{{
return g:vimwiki_diary_months[str2nr(a:month)]
return vimwiki#vars#get_global('diary_months')[str2nr(a:month)]
endfun "}}}
" Helpers }}}