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

@ -29,7 +29,7 @@ function! s:wide_len(str) "{{{
endif
" get str display width in vim ver < 7.2
if !g:vimwiki_CJK_length
if !vimwiki#vars#get_global('CJK_length')
let ret = strlen(substitute(a:str, '.', 'x', 'g'))
else
let savemodified = &modified