diff options
author | w0rp <devw0rp@gmail.com> | 2021-05-26 22:43:30 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2021-05-26 22:43:33 +0100 |
commit | f53431331e2e2030a84de081baec93aad1e62363 (patch) | |
tree | c44ff92c5e4aaf6b39100e9ee40484a49ae39f78 /ale_linters/php | |
parent | 3f386ae5e988d6e1b39332a760f9e990d2df7f31 (diff) | |
download | ale-f53431331e2e2030a84de081baec93aad1e62363.zip |
Enable gopls by default with GOPATH detection
Diffstat (limited to 'ale_linters/php')
-rwxr-xr-x | ale_linters/php/intelephense.vim | 2 | ||||
-rw-r--r-- | ale_linters/php/langserver.vim | 2 | ||||
-rw-r--r-- | ale_linters/php/phpcs.vim | 2 | ||||
-rw-r--r-- | ale_linters/php/psalm.vim | 2 | ||||
-rw-r--r-- | ale_linters/php/tlint.vim | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/ale_linters/php/intelephense.vim b/ale_linters/php/intelephense.vim index aca619e3..0fdcc93e 100755 --- a/ale_linters/php/intelephense.vim +++ b/ale_linters/php/intelephense.vim @@ -26,7 +26,7 @@ call ale#linter#Define('php', { \ 'name': 'intelephense', \ 'lsp': 'stdio', \ 'initialization_options': function('ale_linters#php#intelephense#GetInitializationOptions'), -\ 'executable': {b -> ale#node#FindExecutable(b, 'php_intelephense', [])}, +\ 'executable': {b -> ale#path#FindExecutable(b, 'php_intelephense', [])}, \ 'command': '%e --stdio', \ 'project_root': function('ale_linters#php#intelephense#GetProjectRoot'), \}) diff --git a/ale_linters/php/langserver.vim b/ale_linters/php/langserver.vim index fdd1bf2b..c3d89a00 100644 --- a/ale_linters/php/langserver.vim +++ b/ale_linters/php/langserver.vim @@ -19,7 +19,7 @@ endfunction call ale#linter#Define('php', { \ 'name': 'langserver', \ 'lsp': 'stdio', -\ 'executable': {b -> ale#node#FindExecutable(b, 'php_langserver', [ +\ 'executable': {b -> ale#path#FindExecutable(b, 'php_langserver', [ \ 'vendor/bin/php-language-server.php', \ ])}, \ 'command': 'php %e', diff --git a/ale_linters/php/phpcs.vim b/ale_linters/php/phpcs.vim index 3d88ad5d..ce47a13b 100644 --- a/ale_linters/php/phpcs.vim +++ b/ale_linters/php/phpcs.vim @@ -44,7 +44,7 @@ endfunction call ale#linter#Define('php', { \ 'name': 'phpcs', -\ 'executable': {b -> ale#node#FindExecutable(b, 'php_phpcs', [ +\ 'executable': {b -> ale#path#FindExecutable(b, 'php_phpcs', [ \ 'vendor/bin/phpcs', \ 'phpcs' \ ])}, diff --git a/ale_linters/php/psalm.vim b/ale_linters/php/psalm.vim index 286c8a96..dbbe9453 100644 --- a/ale_linters/php/psalm.vim +++ b/ale_linters/php/psalm.vim @@ -18,7 +18,7 @@ endfunction call ale#linter#Define('php', { \ 'name': 'psalm', \ 'lsp': 'stdio', -\ 'executable': {b -> ale#node#FindExecutable(b, 'php_psalm', [ +\ 'executable': {b -> ale#path#FindExecutable(b, 'php_psalm', [ \ 'vendor/bin/psalm', \ ])}, \ 'command': function('ale_linters#php#psalm#GetCommand'), diff --git a/ale_linters/php/tlint.vim b/ale_linters/php/tlint.vim index 6bba8def..80bdd1f6 100644 --- a/ale_linters/php/tlint.vim +++ b/ale_linters/php/tlint.vim @@ -20,7 +20,7 @@ function! ale_linters#php#tlint#GetProjectRoot(buffer) abort endfunction function! ale_linters#php#tlint#GetExecutable(buffer) abort - return ale#node#FindExecutable(a:buffer, 'php_tlint', [ + return ale#path#FindExecutable(a:buffer, 'php_tlint', [ \ 'vendor/bin/tlint', \ 'tlint', \]) |