vim-patch:9.1.2094: filetype: tiger files are not recognized

Problem:  filetype: tiger files are not recognized
Solution: Detect *.tig files as tiger filetype
          (Christian Clason).

Reference:
- https://www.cs.princeton.edu/~appel/modern/

closes: vim/vim#19202

eb53ed5de0

Co-authored-by: Christian Clason <c.clason@uni-graz.at>
This commit is contained in:
Christian Clason
2026-01-18 23:00:50 +01:00
committed by Christian Clason
parent f36dd7557a
commit c52f6eb49a
2 changed files with 2 additions and 0 deletions

View File

@@ -1298,6 +1298,7 @@ local extension = {
text = 'text',
tfvars = 'terraform-vars',
thrift = 'thrift',
tig = 'tiger',
tla = 'tla',
tli = 'tli',
toml = 'toml',

View File

@@ -883,6 +883,7 @@ func s:GetFilenameChecks() abort
\ 'tf': ['file.tf', '.tfrc', 'tfrc'],
\ 'thrift': ['file.thrift'],
\ 'tidy': ['.tidyrc', 'tidyrc', 'tidy.conf'],
\ 'tiger': ['file.tig'],
\ 'tilde': ['file.t.html'],
\ 'tla': ['file.tla'],
\ 'tli': ['file.tli'],