tsuquyomi icon indicating copy to clipboard operation
tsuquyomi copied to clipboard

Tsuquyomi doesn't catch "experimentalDecorators"

Open smart--petea opened this issue 7 years ago • 2 comments

I have tsconfig.json in the root. Tsuquyomi doesn't catch "experimentalDecorators". It throws me errors. Where is ma fault?

smart--petea avatar Jan 31 '17 09:01 smart--petea

Happens sometimes to me too, especially on new files. A :TsuReloadProject or reloading the file usually solves the problem for me.

topaxi avatar Jun 01 '17 07:06 topaxi

npm i -g typescript@latest

Integrate with syntastic

If you use syntastic, you can use syntastic for displaying syntax and semantics errors instead of vim's default quickfix window. To integrate syntastic, write the following setting to your .vimrc.

let g:tsuquyomi_disable_quickfix = 1 let g:syntastic_typescript_checkers = ['tsuquyomi'] " You shouldn't use 'tsc' checker.

syntastic has default TypeScript checker whose name is 'tsc'. You shouldn't use it with running Tusuquyomi because they don't share compile options. Tusuquyomi's checker whose name is 'tsuquyomi' uses tsserver and your tsconfig.json.

greenSnot avatar Mar 06 '20 11:03 greenSnot