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 <chris@dragan.dev>
Signed-off-by: Christian Brabandt <cb@256bit.org>
# 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 <Bram@vim.org>
# These functions are moved here from runtime/filetype.vim to make startup
"k": "kwt",
# Kivy
"kv": "kivy",
+ # Kos
+ "kos": "kos",
# Kotlin
"kt": "kotlin",
"ktm": "kotlin",
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'],
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2043,
/**/
2042,
/**/