summaryrefslogtreecommitdiff
path: root/ale_linters/scss
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/scss
parent3f386ae5e988d6e1b39332a760f9e990d2df7f31 (diff)
downloadale-f53431331e2e2030a84de081baec93aad1e62363.zip
Enable gopls by default with GOPATH detection
Diffstat (limited to 'ale_linters/scss')
-rw-r--r--ale_linters/scss/sasslint.vim2
-rw-r--r--ale_linters/scss/stylelint.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/scss/sasslint.vim b/ale_linters/scss/sasslint.vim
index cf13546e..99027051 100644
--- a/ale_linters/scss/sasslint.vim
+++ b/ale_linters/scss/sasslint.vim
@@ -5,7 +5,7 @@ call ale#Set('scss_sasslint_options', '')
call ale#Set('scss_sasslint_use_global', get(g:, 'ale_use_global_executables', 0))
function! ale_linters#scss#sasslint#GetExecutable(buffer) abort
- return ale#node#FindExecutable(a:buffer, 'scss_sasslint', [
+ return ale#path#FindExecutable(a:buffer, 'scss_sasslint', [
\ 'node_modules/sass-lint/bin/sass-lint.js',
\ 'node_modules/.bin/sass-lint',
\])
diff --git a/ale_linters/scss/stylelint.vim b/ale_linters/scss/stylelint.vim
index b5b21536..fea4ea8f 100644
--- a/ale_linters/scss/stylelint.vim
+++ b/ale_linters/scss/stylelint.vim
@@ -11,7 +11,7 @@ endfunction
call ale#linter#Define('scss', {
\ 'name': 'stylelint',
-\ 'executable': {b -> ale#node#FindExecutable(b, 'scss_stylelint', [
+\ 'executable': {b -> ale#path#FindExecutable(b, 'scss_stylelint', [
\ 'node_modules/.bin/stylelint',
\ ])},
\ 'command': function('ale_linters#scss#stylelint#GetCommand'),