dmmulroy / tsc.nvim

A Neovim plugin for seamless, asynchronous project-wide TypeScript type-checking using the TypeScript compiler (tsc)
MIT License
403 stars 21 forks source link

--incremental flag #29

Closed timsofteng closed 1 year ago

timsofteng commented 1 year ago

Hello. I've found that with --incremental flag tsc works faster cause it uses cache. Hot to add this flag to tsc.nvim?

dmmulroy commented 1 year ago

You should be able to pass it in via the flags configuration

require('tsc').setup({ 
  flags = { 
    incremental = true 
  } 
})