summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2020-11-21 15:33:55 +0000
committerGitHub <noreply@github.com>2020-11-21 15:33:55 +0000
commit9f2215d69b7c178e4b873d0a7f404962f61e1b77 (patch)
treeb88e8d69b81061e75c556fd747731866bfe5a8a1 /ale_linters
parentd0b5909fd8cb96fa65363af44d02eb0038c6112c (diff)
parentb74827de99e842dc7698d8d6274486550d90f05a (diff)
downloadale-9f2215d69b7c178e4b873d0a7f404962f61e1b77.zip
Merge pull request #3435 from myobie/yarn-berry
For linters/tserver and handlers/eslint: 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',