0
這是我目前syntastic配置:Vim的syntastic沒有顯示警告信息
let g:syntastic_check_on_open=1
let g:syntastic_quiet_messages = { "level": [] }
let g:syntastic_aggregate_errors = 1
let g:syntastic_javascript_checkers = ['jshint', 'jslint']
let g:syntastic_warning_symbol = 'WW'
let g:syntastic_error_symbol = 'EE'
,我有是,它顯示在我的JavaScript文件只有錯誤消息的問題:
例如:
% jslint web/js/app.js
web/js/app.js
#1 'define' was used before it was defined.
define([ // Line 1, Pos 1
#2 Expected exactly one space between 'function' and '('.
RestangularProvider.setResponseExtractor(function(response, operation) { // Line 73, Pos 58
但是當我在vim中打開文件時,我只看到消息#1 'define' was used before it was defined.
,而不是第二個。
我應該怎麼做才能顯示警告?
有沒有辦法知道哪兩個項目是一個錯誤,這是一個警告。 – romainl 2014-09-19 14:31:54