vim-syntastic 中未显示错误符号
Error symbols not showing in vim-syntastic
我正在尝试将自定义错误符号添加到我的 .vimrc
文件中的 syntastic
:
" 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 ="∙∙"
这个有效:
" Error symbols
let g:syntastic_error_symbol = "✗"
let syntastic_style_error_symbol = "✗"
let g:syntastic_warning_symbol = "∙∙"
let syntastic_style_warning_symbol = "∙∙"
我正在尝试将自定义错误符号添加到我的 .vimrc
文件中的 syntastic
:
" 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 ="∙∙"
这个有效:
" Error symbols
let g:syntastic_error_symbol = "✗"
let syntastic_style_error_symbol = "✗"
let g:syntastic_warning_symbol = "∙∙"
let syntastic_style_warning_symbol = "∙∙"