patch 9.1.2094: filetype: tiger files are not recognized
Commit:
https://github.com/vim/vim/commit/eb53ed5de01cfc4effc1825ad710999172c138ab
Author: Christian Clason <[email protected]>
Date: Sun Jan 18 21:03:02 2026 +0000
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: #19202
Signed-off-by: Christian Clason <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/autoload/dist/ft.vim b/runtime/autoload/dist/ft.vim
index 0a65aa908..3f3fe971a 100644
--- a/runtime/autoload/dist/ft.vim
+++ b/runtime/autoload/dist/ft.vim
@@ -2827,6 +2827,8 @@ const ft_from_ext = {
"txi": "texinfo",
# Thrift (Apache)
"thrift": "thrift",
+ # Tiger
+ "tig": "tiger",
# TLA+
"tla": "tla",
# TPP - Text Presentation Program
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index 4ae9b7b02..625a4f90a 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -886,6 +886,7 @@ def s:GetFilenameChecks(): dict<list<string>>
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'],
diff --git a/src/version.c b/src/version.c
index a5a3146d9..fe5a71b22 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2094,
/**/
2093,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1vha6x-0022Zj-Rb%40256bit.org.