Use new access functions for wiki-local variables -- part 1

Ref #256
This commit is contained in:
EinfachToll
2016-12-22 18:16:05 +01:00
parent 23ee20887a
commit 6221861957
7 changed files with 43 additions and 55 deletions

View File

@ -113,10 +113,11 @@ function! vimwiki#lst#default_symbol() "{{{
endfunction "}}}
function! vimwiki#lst#get_list_margin() "{{{
if VimwikiGet('list_margin') < 0
let list_margin = vimwiki#vars#get_wikilocal('list_margin')
if list_margin < 0
return &sw
else
return VimwikiGet('list_margin')
return list_margin
endif
endfunction "}}}