mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-05 20:25:01 +00:00
Merge branch 'main' into report
This commit is contained in:
commit
387ade4427
2 changed files with 2 additions and 3 deletions
|
@ -1 +1 @@
|
||||||
__version__ = "0.54.6-dev"
|
__version__ = "0.54.7-dev"
|
||||||
|
|
|
@ -82,8 +82,7 @@ class AutoCompleter(Completer):
|
||||||
continue
|
continue
|
||||||
try:
|
try:
|
||||||
lexer = guess_lexer_for_filename(fname, content)
|
lexer = guess_lexer_for_filename(fname, content)
|
||||||
except Exception as ex: # On Windows, bad ref to time.clock which is deprecated
|
except Exception: # On Windows, bad ref to time.clock which is deprecated
|
||||||
self.tool_error(f"Error lexing {fname}: {ex}")
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
tokens = list(lexer.get_tokens(content))
|
tokens = list(lexer.get_tokens(content))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue