summaryrefslogtreecommitdiff
path: root/ale_linters/css
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-04-17 23:29:02 +0100
committerw0rp <devw0rp@gmail.com>2017-04-17 23:29:02 +0100
commite237add9fdec64c80ed57f383e2b73464fb4b43d (patch)
treec7a958526e3048c3457359de435fd8ee83ab07b6 /ale_linters/css
parent6c762237cea0dd29fc95d3cbbb9787213f581ef3 (diff)
downloadale-e237add9fdec64c80ed57f383e2b73464fb4b43d.zip
Move path functions to their own file
Diffstat (limited to 'ale_linters/css')
-rw-r--r--ale_linters/css/csslint.vim2
-rw-r--r--ale_linters/css/stylelint.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/css/csslint.vim b/ale_linters/css/csslint.vim
index 6b0956ee..641e9c3e 100644
--- a/ale_linters/css/csslint.vim
+++ b/ale_linters/css/csslint.vim
@@ -2,7 +2,7 @@
" Description: This file adds support for checking CSS code with csslint.
function! ale_linters#css#csslint#GetCommand(buffer) abort
- let l:csslintrc = ale#util#FindNearestFile(a:buffer, '.csslintrc')
+ let l:csslintrc = ale#path#FindNearestFile(a:buffer, '.csslintrc')
let l:config_option = !empty(l:csslintrc)
\ ? '--config=' . fnameescape(l:csslintrc)
\ : ''
diff --git a/ale_linters/css/stylelint.vim b/ale_linters/css/stylelint.vim
index ffda0498..8c1c3be1 100644
--- a/ale_linters/css/stylelint.vim
+++ b/ale_linters/css/stylelint.vim
@@ -14,7 +14,7 @@ function! ale_linters#css#stylelint#GetExecutable(buffer) abort
return ale#Var(a:buffer, 'css_stylelint_executable')
endif
- return ale#util#ResolveLocalPath(
+ return ale#path#ResolveLocalPath(
\ a:buffer,
\ 'node_modules/.bin/stylelint',
\ ale#Var(a:buffer, 'css_stylelint_executable')