summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2017-11-30 09:46:24 +0000
committerGitHub <noreply@github.com>2017-11-30 09:46:24 +0000
commitc977bb2d0568aa7ca28a7896e1608b166b81d2c6 (patch)
treebaf95d46088dd413948171597c8774ebef02ebeb
parent6503b85d3d0f01d8fa74f8024fda8d6fe0d62274 (diff)
parent5d65980c42da3eb2c7f1431e15c3e2bf7d340c61 (diff)
downloadale-c977bb2d0568aa7ca28a7896e1608b166b81d2c6.zip
Merge pull request #1181 from lgalke/tsserver-in-cygwin
[WIP] Finding tsserver inside cygwin
-rw-r--r--autoload/ale/path.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload/ale/path.vim b/autoload/ale/path.vim
index bca0fe81..5fd6cef2 100644
--- a/autoload/ale/path.vim
+++ b/autoload/ale/path.vim
@@ -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 . ';')