mirror of
https://github.com/neovim/neovim.git
synced 2026-03-31 04:42:03 +00:00
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:
committed by
Christian Clason
parent
612cd99a00
commit
067b5743f5
@@ -691,6 +691,7 @@ local extension = {
|
||||
kerml = 'kerml',
|
||||
kv = 'kivy',
|
||||
kix = 'kix',
|
||||
kos = 'kos',
|
||||
kts = 'kotlin',
|
||||
kt = 'kotlin',
|
||||
ktm = 'kotlin',
|
||||
|
||||
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user