diff options
author | w0rp <devw0rp@gmail.com> | 2020-08-10 02:14:23 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2020-08-10 02:14:23 +0100 |
commit | 2237f9b4623f0fc5c6b4b70e47171a94b6a30bd4 (patch) | |
tree | 58821d46a0ad8923f37ffa2696ccd829628ca5a3 /autoload | |
parent | 05210846e41ea1e3cfc1c8e91834951f642348f7 (diff) | |
download | ale-2237f9b4623f0fc5c6b4b70e47171a94b6a30bd4.zip |
#2919 Use compile_commands.json for headers
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/c.vim | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/autoload/ale/c.vim b/autoload/ale/c.vim index 2509db99..39892d42 100644 --- a/autoload/ale/c.vim +++ b/autoload/ale/c.vim @@ -9,13 +9,6 @@ let s:sep = has('win32') ? '\' : '/' let g:__ale_c_project_filenames = ['.git/HEAD', 'configure', 'Makefile', 'CMakeLists.txt'] function! ale#c#GetBuildDirectory(buffer) abort - " Don't include build directory for header files, as compile_commands.json - " files don't consider headers to be translation units, and provide no - " commands for compiling header files. - if expand('#' . a:buffer) =~# '\v\.(h|hpp)$' - return '' - endif - let l:build_dir = ale#Var(a:buffer, 'c_build_dir') " c_build_dir has the priority if defined |