1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 22:40:04 +08:00

Fix: indentLine plugin error (#2827) (#2834)

This commit is contained in:
飘尘 2019-05-20 14:47:27 +08:00 committed by Wang Shidong
parent a65f2df62a
commit ad44dbb07b

View File

@ -94,7 +94,8 @@ function! s:enable_touchpad() abort
call system('synclient touchpadoff=0') call system('synclient touchpadoff=0')
endfunction endfunction
function! s:fixindentline() abort function! s:fixindentline() abort
if !exists('s:done') if !exists('s:done') && has('conceal')
" The indentLine plugin need conceal feature
if exists(':IndentLinesToggle') == 2 if exists(':IndentLinesToggle') == 2
IndentLinesToggle IndentLinesToggle
IndentLinesToggle IndentLinesToggle