Merge branch 'main' into report

This commit is contained in:
Paul Gauthier 2024-08-29 09:10:22 -07:00
commit 387ade4427
2 changed files with 2 additions and 3 deletions

View file

@ -1 +1 @@
__version__ = "0.54.6-dev"
__version__ = "0.54.7-dev"

View file

@ -82,8 +82,7 @@ class AutoCompleter(Completer):
continue
try:
lexer = guess_lexer_for_filename(fname, content)
except Exception as ex: # On Windows, bad ref to time.clock which is deprecated
self.tool_error(f"Error lexing {fname}: {ex}")
except Exception: # On Windows, bad ref to time.clock which is deprecated
continue
tokens = list(lexer.get_tokens(content))