mirror of
https://github.com/neovim/neovim.git
synced 2026-04-20 06:20:53 +00:00
vim-patch:8.2.0190: detect Kotlin files [ci skip] #11796
Problem: Kotlin files are not recognized.
Solution: Detect Kotlin files. (Alkeryn, closes vim/vim#5560)
ab067a21b9
This commit is contained in:
@@ -829,6 +829,9 @@ au BufNewFile,BufRead *.k setf kwt
|
||||
" Kivy
|
||||
au BufNewFile,BufRead *.kv setf kivy
|
||||
|
||||
" Kotlin
|
||||
au BufNewFile,BufRead *.kt,*.ktm,*.kts setf kotlin
|
||||
|
||||
" KDE script
|
||||
au BufNewFile,BufRead *.ks setf kscript
|
||||
|
||||
|
||||
@@ -234,6 +234,7 @@ let s:filename_checks = {
|
||||
\ 'kconfig': ['Kconfig', 'Kconfig.debug'],
|
||||
\ 'kivy': ['file.kv'],
|
||||
\ 'kix': ['file.kix'],
|
||||
\ 'kotlin': ['file.kt', 'file.ktm', 'file.kts'],
|
||||
\ 'kscript': ['file.ks'],
|
||||
\ 'kwt': ['file.k'],
|
||||
\ 'lace': ['file.ace', 'file.ACE'],
|
||||
|
||||
Reference in New Issue
Block a user