Added more clear error messages when universal-ctags is disabled per issue #31

This commit is contained in:
Paul Gauthier 2023-07-03 10:30:45 -07:00
parent e98db7dfce
commit 1f16b15f92
3 changed files with 27 additions and 3 deletions

View file

@ -178,7 +178,8 @@ class Coder:
self.io.tool_output(f"Repo-map: universal-ctags using {map_tokens} tokens")
elif not self.repo_map.has_ctags and map_tokens > 0:
self.io.tool_output(
f"Repo-map: basic using {map_tokens} tokens (universal-ctags not found)"
f"Repo-map: basic using {map_tokens} tokens"
f" ({self.repo_map.ctags_disabled_reason})"
)
else:
self.io.tool_output("Repo-map: disabled because map_tokens == 0")