Add support for .inc file extension (#2)

This commit is contained in:
LagoLunatic 2025-05-16 13:07:28 -04:00 committed by GitHub
parent 9120080eb5
commit f81d6e1a15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@ Encoded file extensions:
- `.hp` - `.hp`
- `.hpp` - `.hpp`
- `.hxx` - `.hxx`
- `.inc`
## Usage ## Usage

View File

@ -59,6 +59,7 @@ fn is_text_file(path: &Path) -> bool {
|| ext == OsStr::new("hp") || ext == OsStr::new("hp")
|| ext == OsStr::new("hpp") || ext == OsStr::new("hpp")
|| ext == OsStr::new("hxx") || ext == OsStr::new("hxx")
|| ext == OsStr::new("inc")
} }
macro_rules! debug_println { macro_rules! debug_println {