diff options
author | w0rp <devw0rp@gmail.com> | 2017-04-17 23:29:02 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-04-17 23:29:02 +0100 |
commit | e237add9fdec64c80ed57f383e2b73464fb4b43d (patch) | |
tree | c7a958526e3048c3457359de435fd8ee83ab07b6 /ale_linters/javascript/jshint.vim | |
parent | 6c762237cea0dd29fc95d3cbbb9787213f581ef3 (diff) | |
download | ale-e237add9fdec64c80ed57f383e2b73464fb4b43d.zip |
Move path functions to their own file
Diffstat (limited to 'ale_linters/javascript/jshint.vim')
-rw-r--r-- | ale_linters/javascript/jshint.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/javascript/jshint.vim b/ale_linters/javascript/jshint.vim index 506b26da..6835eeb0 100644 --- a/ale_linters/javascript/jshint.vim +++ b/ale_linters/javascript/jshint.vim @@ -12,7 +12,7 @@ function! ale_linters#javascript#jshint#GetExecutable(buffer) abort return ale#Var(a:buffer, 'javascript_jshint_executable') endif - return ale#util#ResolveLocalPath( + return ale#path#ResolveLocalPath( \ a:buffer, \ 'node_modules/.bin/jshint', \ ale#Var(a:buffer, 'javascript_jshint_executable') @@ -21,7 +21,7 @@ endfunction function! ale_linters#javascript#jshint#GetCommand(buffer) abort " Search for a local JShint config locaation, and default to a global one. - let l:jshint_config = ale#util#ResolveLocalPath( + let l:jshint_config = ale#path#ResolveLocalPath( \ a:buffer, \ '.jshintrc', \ get(g:, 'ale_jshint_config_loc', '') |