vim-patch:9.1.2061: filetype: Koka files are not recognized

Problem:  filetype: Koka files are not recognized
Solution: Detect *.kk files as koka filetype (Hoang Nguyen).

Reference:
- https://koka-lang.github.io/koka/doc/index.html

closes: vim/vim#19104

969a4a0ba5

Co-authored-by: Hoang Nguyen <folliekazetani@protonmail.com>
This commit is contained in:
zeertzjq
2026-01-07 06:18:31 +08:00
parent a6df0db11f
commit 0bbbe236aa
2 changed files with 2 additions and 0 deletions

View File

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

View File

@@ -429,6 +429,7 @@ func s:GetFilenameChecks() abort
\ 'kitty': ['kitty.conf', '~/.config/kitty/colorscheme.conf'],
\ 'kivy': ['file.kv'],
\ 'kix': ['file.kix'],
\ 'koka': ['file.kk'],
\ 'kos': ['file.kos'],
\ 'kotlin': ['file.kt', 'file.ktm', 'file.kts'],
\ 'krl': ['file.sub', 'file.Sub', 'file.SUB'],