diff --git a/autoload/leaderf/python/leaderf/fileExpl.py b/autoload/leaderf/python/leaderf/fileExpl.py index 346a3de1..41184926 100644 --- a/autoload/leaderf/python/leaderf/fileExpl.py +++ b/autoload/leaderf/python/leaderf/fileExpl.py @@ -225,7 +225,7 @@ def _buildCmd(self, dir): ignore += ' -x "%s"' % i for i in wildignore["file"]: ignore += ' -x "%s"' % i - cmd = "git ls-files && git ls-files --others --exclude-standard %s" % ignore + cmd = "git ls-files --recurse-submodules && git ls-files --others --exclude-standard %s" % ignore self._external_cmd = cmd return cmd elif self._exists(dir, ".hg"):