mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-20 10:02:57 +08:00
#729 - Use a wrapper for simplify to fix // problems on Windows
This commit is contained in:
@@ -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 []
|
||||
|
||||
Reference in New Issue
Block a user