Merge pull request #1181 from lgalke/tsserver-in-cygwin

[WIP] Finding tsserver inside cygwin
This commit is contained in:
w0rp 2017-11-30 09:46:24 +00:00 committed by GitHub
commit c977bb2d05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ endfunction
" through the paths relative to the given buffer.
function! ale#path#FindNearestFile(buffer, filename) abort
let l:buffer_filename = fnamemodify(bufname(a:buffer), ':p')
let l:buffer_filename = fnameescape(l:buffer_filename)
let l:relative_path = findfile(a:filename, l:buffer_filename . ';')