I have integrated Tsuquyomi as a Syntastic plugin for TypeScript error checking in Vim. However, I am facing an issue where only ESLint errors are displayed when I open a file, and Tsuquyomi errors are only visible when I save the file or manually run the checker.
In my configuration in the .vimrc
, I have set up Syntastic to check with Tsuquyomi on file 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']
...
Despite this setup, when I create a file with errors, Tsuquyomi does not display these errors when the file is opened. However, manually running :SyntasticCheck
shows the errors correctly.
The issue seems to be related to Tsuquyomi not detecting errors on file open, causing a delay in error notification. How can I ensure that Tsuquyomi displays TypeScript errors promptly when the file is opened?