From bc3f3b142e972071df8968f878f76e4412b4e3e6 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 29 May 2017 14:30:29 +0100 Subject: Look for Jamroot.jam as well as Jamfile.jam --- ycm_extra_conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ycm_extra_conf.py b/ycm_extra_conf.py index ae6aa1c..a132da4 100644 --- a/ycm_extra_conf.py +++ b/ycm_extra_conf.py @@ -10,7 +10,7 @@ def IsHeaderFile( filename ): def ContainsJamfile(path): for file in os.listdir(path): - if file == 'Jamfile.jam': + if file == 'Jamfile.jam' or file == 'Jamroot.jam': return True return False -- cgit v1.2.3