0
0
mirror of https://github.com/vim/vim.git synced 2025-10-06 05:44:14 -04:00

patch 8.2.0190: Kotlin files are not recognized

Problem:    Kotlin files are not recognized.
Solution:   Detect Kotlin files. (Alkeryn, closes #5560)
This commit is contained in:
Bram Moolenaar
2020-01-31 22:57:59 +01:00
parent 7cc96923c4
commit ab067a21b9
3 changed files with 7 additions and 1 deletions

View File

@@ -384,7 +384,7 @@ au BufNewFile,BufRead configure.in,configure.ac setf config
" CUDA Cumpute Unified Device Architecture " CUDA Cumpute Unified Device Architecture
au BufNewFile,BufRead *.cu,*.cuh setf cuda au BufNewFile,BufRead *.cu,*.cuh setf cuda
" Dockerfilb; Podman uses the same syntax with name Containerfile " Dockerfile; Podman uses the same syntax with name Containerfile
au BufNewFile,BufRead Containerfile,Dockerfile,*.Dockerfile setf dockerfile au BufNewFile,BufRead Containerfile,Dockerfile,*.Dockerfile setf dockerfile
" WildPackets EtherPeek Decoder " WildPackets EtherPeek Decoder
@@ -833,6 +833,9 @@ au BufNewFile,BufRead *.k setf kwt
" Kivy " Kivy
au BufNewFile,BufRead *.kv setf kivy au BufNewFile,BufRead *.kv setf kivy
" Kotlin
au BufNewFile,BufRead *.kt,*.ktm,*.kts setf kotlin
" KDE script " KDE script
au BufNewFile,BufRead *.ks setf kscript au BufNewFile,BufRead *.ks setf kscript

View File

@@ -234,6 +234,7 @@ let s:filename_checks = {
\ 'kconfig': ['Kconfig', 'Kconfig.debug'], \ 'kconfig': ['Kconfig', 'Kconfig.debug'],
\ 'kivy': ['file.kv'], \ 'kivy': ['file.kv'],
\ 'kix': ['file.kix'], \ 'kix': ['file.kix'],
\ 'kotlin': ['file.kt', 'file.ktm', 'file.kts'],
\ 'kscript': ['file.ks'], \ 'kscript': ['file.ks'],
\ 'kwt': ['file.k'], \ 'kwt': ['file.k'],
\ 'lace': ['file.ace', 'file.ACE'], \ 'lace': ['file.ace', 'file.ACE'],

View File

@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
190,
/**/ /**/
189, 189,
/**/ /**/