1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-04 04:40:05 +08:00
SpaceVim/bundle/indent-blankline.nvim/autoload/indent_blankline/helper.vim

12 lines
293 B
VimL
Raw Normal View History

function! indent_blankline#helper#GetListChar(key, fallback)
let l:list_chars = {}
for l:char in split(&listchars, ',')
let l:split = split(l:char, ':')
let l:list_chars[l:split[0]] = l:split[1]
endfor
return get(l:list_chars, a:key, a:fallback)
endfunction