diff options
author | Bartolomeo Stellato <bartolomeo.stellato@gmail.com> | 2018-09-07 14:13:44 -0400 |
---|---|---|
committer | Bartolomeo Stellato <bartolomeo.stellato@gmail.com> | 2018-09-07 14:13:44 -0400 |
commit | 68ac4d10954b1f1d9f1ae890e0967014aeb00a52 (patch) | |
tree | 1967e911b396287d7bdda03dbc3923d22837b786 /autoload | |
parent | f64f0bb48c6e080932ec3a99ac03a69a57f7a933 (diff) | |
download | ale-68ac4d10954b1f1d9f1ae890e0967014aeb00a52.zip |
Fix julia escaping + minor edits
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/julia.vim | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/autoload/ale/julia.vim b/autoload/ale/julia.vim index a650504c..f17c6596 100644 --- a/autoload/ale/julia.vim +++ b/autoload/ale/julia.vim @@ -2,19 +2,16 @@ " Description: Functions for integrating with Julia tools " Find the nearest dir contining a git project as julia project -let g:__ale_julia_project_filenames = ['REQUIRE'] +let s:__ale_julia_project_filenames = ['REQUIRE'] function! ale#julia#FindProjectRoot(buffer) abort - for l:project_filename in g:__ale_julia_project_filenames + for l:project_filename in s:__ale_julia_project_filenames let l:full_path = ale#path#FindNearestFile(a:buffer, l:project_filename) if !empty(l:full_path) let l:path = fnamemodify(l:full_path, ':p:h') return l:path endif - endfor - return '' - endfunction |