我正在尝试syntastic
在我的.vimrc
文件中添加自定义错误符号,如下所示:
" Error symbols
let g:syntastic_error_symbol = "✗"
let g:syntastic_warning_symbol ="∙∙"
但我想我已经设法打破了一些东西。现在,甚至默认符号都没有正确加载,而是我得到S>
而不是>>
在左侧边距上。
因此,我不仅无法获得自定义符号,也无法获得默认符号。发生了什么?
完整的句法设置是:
" ============== syntastic settings ===============
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
" Specific checkers for tex
let g:syntastic_tex_checkers = ['chktex', 'proselint']
" Others
let g:syntastic_aggregate_errors = 1
let g:syntastic_enable_signs = 1
" Error symbols
" let g:syntastic_error_symbol = "✗"
" let g:syntastic_warning_symbol ="∙∙"