Look for node packages in .yarn/sdks as well
This commit is contained in:
parent
48fe0dd4f6
commit
b74827de99
2 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,7 @@ call ale#linter#Define('typescript', {
|
||||||
\ 'name': 'tsserver',
|
\ 'name': 'tsserver',
|
||||||
\ 'lsp': 'tsserver',
|
\ 'lsp': 'tsserver',
|
||||||
\ 'executable': {b -> ale#node#FindExecutable(b, 'typescript_tsserver', [
|
\ 'executable': {b -> ale#node#FindExecutable(b, 'typescript_tsserver', [
|
||||||
|
\ '.yarn/sdks/typescript/bin/tsserver',
|
||||||
\ 'node_modules/.bin/tsserver',
|
\ 'node_modules/.bin/tsserver',
|
||||||
\ ])},
|
\ ])},
|
||||||
\ 'command': '%e',
|
\ 'command': '%e',
|
||||||
|
|
|
@ -5,6 +5,7 @@ let s:executables = [
|
||||||
\ 'node_modules/.bin/eslint_d',
|
\ 'node_modules/.bin/eslint_d',
|
||||||
\ 'node_modules/eslint/bin/eslint.js',
|
\ 'node_modules/eslint/bin/eslint.js',
|
||||||
\ 'node_modules/.bin/eslint',
|
\ 'node_modules/.bin/eslint',
|
||||||
|
\ '.yarn/sdks/eslint/bin/eslint',
|
||||||
\]
|
\]
|
||||||
let s:sep = has('win32') ? '\' : '/'
|
let s:sep = has('win32') ? '\' : '/'
|
||||||
|
|
||||||
|
|
Reference in a new issue