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

vue-tsc or tsc binary path option support #26

Closed dLedda closed 1 year ago

dLedda commented 1 year ago

Hi, thanks for this plugin, I've found it very useful. I use Vue at work and privately as well and vue-tsc is the go-to typechecker, as it also parses the .vue files into typecheckable TypeScript. I would be grateful if you could also include the command name as an option (i.e. npx vue-tsc in this case) to override the default behaviour, or an option to include the path to binary (I see that this would probably be the easiest option)? As far as I am aware the interface and console output are the same.

dmmulroy commented 1 year ago

Hey thanks for the issue! I'd be down to add bin_path as a config option. I can try and get around to this later this week some morning, or if you'd like you can feel free to submit a PR in the interim. 😄

dLedda commented 1 year ago

No problem, thanks for considering. No hurry at all. :) I might have a look myself if I have some free time, although I am not particularly well versed in lua or the (Neo)vim API, just enough to cobble together the configs.

dmmulroy commented 1 year ago

@dLedda This should be good to go! Lmk if you hit any gotchas after upgrading

dLedda commented 1 year ago

Hey, thanks so much for doing this! It works great! Will enjoy using this at work.