Skip to content

Commit d1570a8

Browse files
committed
bugfix
1 parent db6fb67 commit d1570a8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

autoload/easycomplete/popup.vim

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@ endfunction
130130

131131
function! s:CurrCharIsChinese()
132132
let offset = 0
133+
" Tab
134+
if char2nr(strpart(getline('.'), col('.')-1, 1)) == 9
135+
return 1
136+
endif
133137
let l_len = strwidth(strpart(getline('.'), col('.')-1, 3))
134138
if l_len == 2
135139
let offset = 1 " 是中文字符

0 commit comments

Comments
 (0)