vim-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: vim/vim#19056

96a1caac6b

Co-authored-by: Chris Dragan <chris@dragan.dev>
This commit is contained in:
Christian Clason
2026-01-02 15:09:06 +01:00
committed by Christian Clason
parent 612cd99a00
commit 067b5743f5
2 changed files with 2 additions and 0 deletions

View File

@@ -691,6 +691,7 @@ local extension = {
kerml = 'kerml',
kv = 'kivy',
kix = 'kix',
kos = 'kos',
kts = 'kotlin',
kt = 'kotlin',
ktm = 'kotlin',

View File

@@ -429,6 +429,7 @@ func s:GetFilenameChecks() abort
\ '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'],