From ad44dbb07b4a25327eb660a6c7c047e3620372dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=98=E5=B0=98?= Date: Mon, 20 May 2019 14:47:27 +0800 Subject: [PATCH] Fix: indentLine plugin error (#2827) (#2834) --- autoload/SpaceVim/autocmds.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autoload/SpaceVim/autocmds.vim b/autoload/SpaceVim/autocmds.vim index 907b3de66..a849837b4 100644 --- a/autoload/SpaceVim/autocmds.vim +++ b/autoload/SpaceVim/autocmds.vim @@ -94,7 +94,8 @@ function! s:enable_touchpad() abort call system('synclient touchpadoff=0') endfunction function! s:fixindentline() abort - if !exists('s:done') + if !exists('s:done') && has('conceal') + " The indentLine plugin need conceal feature if exists(':IndentLinesToggle') == 2 IndentLinesToggle IndentLinesToggle