patch 9.1.2043: filetype: kos files are not reconized

Commit: 
https://github.com/vim/vim/commit/96a1caac6b39b523a32d0554cb95e92dbb81e17f
Author: Chris Dragan <[email protected]>
Date:   Fri Jan 2 14:06:55 2026 +0000

    patch 9.1.2043: filetype: kos files are not reconized
    
    Problem:  filetype: kos files are not reconized
    Solution: Detect *.kos files as kos filetype
              (Chris Dragan)
    
    Reference:
    - https://github.com/kos-lang/kos
    
    closes: #19056
    
    Signed-off-by: Chris Dragan <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/autoload/dist/ft.vim b/runtime/autoload/dist/ft.vim
index f9c19319b..66028d0b1 100644
--- a/runtime/autoload/dist/ft.vim
+++ b/runtime/autoload/dist/ft.vim
@@ -3,7 +3,7 @@ vim9script
 # Vim functions for file type detection
 #
 # Maintainer:          The Vim Project <https://github.com/vim/vim>
-# Last Change:         2025 Dec 31
+# Last Change:         2026 Jan 02
 # Former Maintainer:   Bram Moolenaar <[email protected]>
 
 # These functions are moved here from runtime/filetype.vim to make startup
@@ -2234,6 +2234,8 @@ const ft_from_ext = {
   "k": "kwt",
   # Kivy
   "kv": "kivy",
+  # Kos
+  "kos": "kos",
   # Kotlin
   "kt": "kotlin",
   "ktm": "kotlin",
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index 26fb24799..bebdefd83 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -432,6 +432,7 @@ def s:GetFilenameChecks(): dict<list<string>>
     kitty: ['kitty.conf', '~/.config/kitty/colorscheme.conf'],
     kivy: ['file.kv'],
     kix: ['file.kix'],
+    kos: ['file.kos'],
     kotlin: ['file.kt', 'file.ktm', 'file.kts'],
     krl: ['file.sub', 'file.Sub', 'file.SUB'],
     kscript: ['file.ks'],
diff --git a/src/version.c b/src/version.c
index e35172977..84a08d2be 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 */
+/**/
+    2043,
 /**/
     2042,
 /**/

-- 
-- 
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/E1vbfvl-00ATyd-3R%40256bit.org.

Raspunde prin e-mail lui