aki2o / emacs-tss

Provide a interface for auto-complete.el/flymake.el on typescript-mode.
108 stars 17 forks source link

Use tsconfig.json if present in the current buffer's directory #25

Open dbarbeau opened 9 years ago

dbarbeau commented 9 years ago

Hello,

Currently tss is started with the current buffer's filename as argument. Starting with TS 1.5 and TSS 0.4, tss can read its configuration from a tsconfig.json file.

emacs-tss could look for that file and if present then use it. It would make it possible to pass arguments to tss like --module. I don't know anything about lisp or emacs' lisp API so I can't help on the implementation side.

Cheers Daniel

aki2o commented 9 years ago

Hi, @dbarbeau Thanks for your advice! I didn't know the configuration from tsconfig.json. I'll try it if I can find the time.

co-dh commented 8 years ago

+1