You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using tsuquyomi as a syntastic plugin for checking TypeScript in vim. I expect to see all errors when I open the file. Instead, I only see eslint errors. I can only see tsuquyomi errors when saving or manually running the checker.
In my .vimrc, I configure syntastic to check with tsuquyomi on open:
" Configure syntax management
let g:syntastic_error_symbol = "✗"
let g:syntastic_warning_symbol = "⚠"
let g:syntastic_javascript_checkers = ['eslint', 'standard']
let g:syntastic_cs_checkers = ['syntax', 'semantic', 'issues']
let g:syntastic_ignore_files = ['Sync/ebs/*']
let syntastic_mode_map = { 'passive_filetypes': ['less'] }
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:tsuquyomi_disable_quickfix = 1
let g:syntastic_check_on_open = 1
let g:syntastic_typescript_checkers = ['eslint', 'tsuquyomi']
let g:syntastic_debug = 3
" Frustratingly necessary for syntastic redrawing
set autoread
set ttyfast
au FileWritePost * :redraw!
au TermResponse * :redraw!
au TextChanged * :redraw!
au QuickFixCmdPre * :redraw!
au QuickFixCmdPost * :redraw!
If I create a file with errors, for example x.ts:
const a: number = 'a'
console.log('a test:', a)
When I open the file, no errors are shown. The output from :mes shows that tsuquyomi found no errors:
I am using tsuquyomi as a syntastic plugin for checking TypeScript in vim. I expect to see all errors when I open the file. Instead, I only see eslint errors. I can only see tsuquyomi errors when saving or manually running the checker.
In my
.vimrc
, I configure syntastic to check with tsuquyomi on open:If I create a file with errors, for example
x.ts
:When I open the file, no errors are shown. The output from
:mes
shows that tsuquyomi found no errors:If I then manually check with
:SyntasticCheck
, the error does show, and it is listed in:mes
:How can I make tsuquyomi show typescript errors when opening as soon as they're ready?
The text was updated successfully, but these errors were encountered: