commit c52f6eb49a956f5abdc469ce7c5f7264a48c2a2c
parent f36dd7557a98e2071f607b0859ccc632b58ccc87
Author: Christian Clason <c.clason@uni-graz.at>
Date: Sun, 18 Jan 2026 23:00:50 +0100
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
https://github.com/vim/vim/commit/eb53ed5de01cfc4effc1825ad710999172c138ab
Co-authored-by: Christian Clason <c.clason@uni-graz.at>
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
@@ -1298,6 +1298,7 @@ local extension = {
text = 'text',
tfvars = 'terraform-vars',
thrift = 'thrift',
+ tig = 'tiger',
tla = 'tla',
tli = 'tli',
toml = 'toml',
diff --git a/test/old/testdir/test_filetype.vim b/test/old/testdir/test_filetype.vim
@@ -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'],