Skip to content

Commit 83e0dc3

Browse files
committed
Update tsc args to read tsconfig.json file if present
See microsoft/TypeScript#5858, fixes neomake#200
1 parent efed015 commit 83e0dc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/neomake/makers/ft/typescript.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ endfunction
77
function! neomake#makers#ft#typescript#tsc()
88
return {
99
\ 'args': [
10-
\ '-m', 'commonjs', '--noEmit'
10+
\ '-m', 'commonjs', '--noEmit', '-p', '.;'
1111
\ ],
1212
\ 'errorformat':
1313
\ '%E%f %#(%l\,%c): error %m,' .

0 commit comments

Comments
 (0)