From e237add9fdec64c80ed57f383e2b73464fb4b43d Mon Sep 17 00:00:00 2001 From: w0rp Date: Mon, 17 Apr 2017 23:29:02 +0100 Subject: Move path functions to their own file --- ale_linters/css/csslint.vim | 2 +- ale_linters/css/stylelint.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ale_linters/css') 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') -- cgit v1.2.3