mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 05:30:07 +08:00
Fix #1500
This commit is contained in:
parent
e21dbf51b7
commit
d664998606
@ -10,8 +10,9 @@ let s:self.id = []
|
||||
let s:self._STRING = SpaceVim#api#import('data#string')
|
||||
function! s:self.info(line, col, message) abort
|
||||
let chars = self._STRING.string2chars(self._STRING.strQ2B(a:message))
|
||||
let chars = [' '] + chars
|
||||
for index in range(len(chars))
|
||||
call add(self.id, matchaddpos('Conceal', [[a:line, a:col + index, 1]], 10, -1, {'conceal' : chars[index]}))
|
||||
call add(self.id, matchaddpos('Conceal', [[a:line, a:col - 1 + index, 1]], 10, -1, {'conceal' : chars[index]}))
|
||||
endfor
|
||||
endfunction
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user