#729 - Use a wrapper for simplify to fix // problems on Windows

This commit is contained in:
w0rp
2017-07-05 15:51:31 +01:00
parent a04e73ddbc
commit 1bd9b0fbe2
6 changed files with 25 additions and 9 deletions

View File

@@ -47,7 +47,7 @@ function! ale#c#FindLocalHeaderPaths(buffer) abort
" If we find an 'include' directory in the project root, then use that.
if isdirectory(l:project_root . '/include')
return [simplify(l:project_root . '/include')]
return [ale#path#Simplify(l:project_root . '/include')]
endif
return []