feat: add shell script file extensions to source file detection

This commit is contained in:
Paul Gauthier 2024-12-07 07:54:18 -08:00 committed by Paul Gauthier (aider)
parent ecf8617246
commit 33d77f4355

View file

@ -10,7 +10,7 @@ from watchfiles import watch
from aider.dump import dump # noqa
# add .zsh, .zshrc. and the various dotfiles for bash, etc ai!
def is_source_file(path: Path) -> bool:
"""
Check if a file is a source file that uses # or // style comments.