mirror of
https://github.com/neovim/neovim.git
synced 2026-04-01 21:32:10 +00:00
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:
@@ -691,6 +691,7 @@ local extension = {
|
||||
kerml = 'kerml',
|
||||
kv = 'kivy',
|
||||
kix = 'kix',
|
||||
kk = 'koka',
|
||||
kos = 'kos',
|
||||
kts = 'kotlin',
|
||||
kt = 'kotlin',
|
||||
|
||||
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user