summaryrefslogtreecommitdiff
path: root/ale_linters/html
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2021-05-26 22:43:30 +0100
committerw0rp <devw0rp@gmail.com>2021-05-26 22:43:33 +0100
commitf53431331e2e2030a84de081baec93aad1e62363 (patch)
treec44ff92c5e4aaf6b39100e9ee40484a49ae39f78 /ale_linters/html
parent3f386ae5e988d6e1b39332a760f9e990d2df7f31 (diff)
downloadale-f53431331e2e2030a84de081baec93aad1e62363.zip
Enable gopls by default with GOPATH detection
Diffstat (limited to 'ale_linters/html')
-rw-r--r--ale_linters/html/angular.vim2
-rw-r--r--ale_linters/html/htmlhint.vim2
-rw-r--r--ale_linters/html/stylelint.vim2
3 files changed, 3 insertions, 3 deletions
diff --git a/ale_linters/html/angular.vim b/ale_linters/html/angular.vim
index f550d665..17c0a751 100644
--- a/ale_linters/html/angular.vim
+++ b/ale_linters/html/angular.vim
@@ -11,7 +11,7 @@ function! ale_linters#html#angular#GetProjectRoot(buffer) abort
endfunction
function! ale_linters#html#angular#GetExecutable(buffer) abort
- return ale#node#FindExecutable(a:buffer, 'html_angular', [
+ return ale#path#FindExecutable(a:buffer, 'html_angular', [
\ 'node_modules/@angular/language-server/bin/ngserver',
\ 'node_modules/@angular/language-server/index.js',
\])
diff --git a/ale_linters/html/htmlhint.vim b/ale_linters/html/htmlhint.vim
index 3e01f51a..25bf5137 100644
--- a/ale_linters/html/htmlhint.vim
+++ b/ale_linters/html/htmlhint.vim
@@ -24,7 +24,7 @@ endfunction
call ale#linter#Define('html', {
\ 'name': 'htmlhint',
-\ 'executable': {b -> ale#node#FindExecutable(b, 'html_htmlhint', [
+\ 'executable': {b -> ale#path#FindExecutable(b, 'html_htmlhint', [
\ 'node_modules/.bin/htmlhint',
\ ])},
\ 'command': function('ale_linters#html#htmlhint#GetCommand'),
diff --git a/ale_linters/html/stylelint.vim b/ale_linters/html/stylelint.vim
index ae8955f3..6b7aba40 100644
--- a/ale_linters/html/stylelint.vim
+++ b/ale_linters/html/stylelint.vim
@@ -5,7 +5,7 @@ call ale#Set('html_stylelint_options', '')
call ale#Set('html_stylelint_use_global', 0)
function! ale_linters#html#stylelint#GetExecutable(buffer) abort
- return ale#node#FindExecutable(a:buffer, 'html_stylelint', [
+ return ale#path#FindExecutable(a:buffer, 'html_stylelint', [
\ 'node_modules/.bin/stylelint',
\])
endfunction