summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorNathan Herald <me@nathanherald.com>2020-07-29 18:23:00 +0200
committerNathan Herald <me@nathanherald.com>2020-11-17 17:12:04 +0100
commitb74827de99e842dc7698d8d6274486550d90f05a (patch)
tree50bc63b3576ff96722b229dba154272077872ce8 /ale_linters
parent48fe0dd4f629bb1282277ba8a6757a84c13a4dda (diff)
downloadale-b74827de99e842dc7698d8d6274486550d90f05a.zip
Look for node packages in .yarn/sdks as well
Diffstat (limited to 'ale_linters')
-rw-r--r--ale_linters/typescript/tsserver.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/ale_linters/typescript/tsserver.vim b/ale_linters/typescript/tsserver.vim
index 840889f3..4726e40d 100644
--- a/ale_linters/typescript/tsserver.vim
+++ b/ale_linters/typescript/tsserver.vim
@@ -9,6 +9,7 @@ call ale#linter#Define('typescript', {
\ 'name': 'tsserver',
\ 'lsp': 'tsserver',
\ 'executable': {b -> ale#node#FindExecutable(b, 'typescript_tsserver', [
+\ '.yarn/sdks/typescript/bin/tsserver',
\ 'node_modules/.bin/tsserver',
\ ])},
\ 'command': '%e',