0
我想自定義錯誤符號我.vimrc
文件添加到syntastic
像這樣:錯誤符號沒有出現在VIM-syntastic
" Error symbols
let g:syntastic_error_symbol = "✗"
let g:syntastic_warning_symbol ="∙∙"
但我想我已經能夠打破東西。現在甚至沒有正確加載默認符號,但是我在左側邊距上取代了S>
而不是>>
。
所以不僅我不能得到我的自定義符號,我也不能得到默認的符號。發生了什麼?
全syntastic設置爲:
" ============== 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 ="∙∙"
有設置四個符號:'syntastic_error_symbol','syntastic_style_error_symbol','syntastic_warning_symbol'和'syntastic_style_warning_symbol'。另見[FAQ](https://github.com/vim-syntastic/syntastic#faqstyle)。 – lcd047
@ Icd047 - 所有這些之間有什麼區別? – Astrid
語法檢查器的跡象與風格檢查器的跡象。全都在手冊中。 – lcd047