From f53431331e2e2030a84de081baec93aad1e62363 Mon Sep 17 00:00:00 2001 From: w0rp Date: Wed, 26 May 2021 22:43:30 +0100 Subject: Enable gopls by default with GOPATH detection --- ale_linters/sass/sasslint.vim | 2 +- ale_linters/sass/stylelint.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ale_linters/sass') diff --git a/ale_linters/sass/sasslint.vim b/ale_linters/sass/sasslint.vim index 17cd3667..ff396e68 100644 --- a/ale_linters/sass/sasslint.vim +++ b/ale_linters/sass/sasslint.vim @@ -5,7 +5,7 @@ call ale#Set('sass_sasslint_options', '') call ale#Set('sass_sasslint_use_global', get(g:, 'ale_use_global_executables', 0)) function! ale_linters#sass#sasslint#GetExecutable(buffer) abort - return ale#node#FindExecutable(a:buffer, 'sass_sasslint', [ + return ale#path#FindExecutable(a:buffer, 'sass_sasslint', [ \ 'node_modules/sass-lint/bin/sass-lint.js', \ 'node_modules/.bin/sass-lint', \]) diff --git a/ale_linters/sass/stylelint.vim b/ale_linters/sass/stylelint.vim index 7b14c6b4..22abef9b 100644 --- a/ale_linters/sass/stylelint.vim +++ b/ale_linters/sass/stylelint.vim @@ -5,7 +5,7 @@ call ale#Set('sass_stylelint_use_global', get(g:, 'ale_use_global_executables', call ale#linter#Define('sass', { \ 'name': 'stylelint', -\ 'executable': {b -> ale#node#FindExecutable(b, 'sass_stylelint', [ +\ 'executable': {b -> ale#path#FindExecutable(b, 'sass_stylelint', [ \ 'node_modules/.bin/stylelint', \ ])}, \ 'command': '%e --stdin-filename %s', -- cgit v1.2.3