diff options
Diffstat (limited to 'tools/vim')
-rw-r--r-- | tools/vim/chromium.ycm_extra_conf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vim/chromium.ycm_extra_conf.py b/tools/vim/chromium.ycm_extra_conf.py index 2901c54..76fce67 100644 --- a/tools/vim/chromium.ycm_extra_conf.py +++ b/tools/vim/chromium.ycm_extra_conf.py @@ -56,7 +56,7 @@ def SystemIncludeDirectoryFlags(): with open(os.devnull, 'rb') as DEVNULL: output = subprocess.check_output(['clang', '-v', '-E', '-x', 'c++', '-'], stdin=DEVNULL, stderr=subprocess.STDOUT) - except (FileNotFoundError, subprocess.CalledProcessError): + except: return [] includes_regex = r'#include <\.\.\.> search starts here:\s*' \ r'(.*?)End of search list\.' |