From c52f6eb49a956f5abdc469ce7c5f7264a48c2a2c Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sun, 18 Jan 2026 23:00:50 +0100 Subject: [PATCH] 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 --- runtime/lua/vim/filetype.lua | 1 + test/old/testdir/test_filetype.vim | 1 + 2 files changed, 2 insertions(+) diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index 3bceecf819..60f4f2a9d5 100644 --- 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 index 022091b06a..0b043f0ca7 100644 --- 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'],