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:
@@ -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
|
||||||
|
|
||||||
|
@@ -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'],
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user