diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-01-31 22:57:59 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-01-31 22:57:59 +0100 |
commit | ab067a21b9622513ed75f4801b001606eeaf2474 (patch) | |
tree | bbbb6bf407704a351d2d1fc79a02b975c5312a9e /runtime | |
parent | 7cc96923c44bbcc541cbd211b6308d87a965f0c3 (diff) |
patch 8.2.0190: Kotlin files are not recognizedv8.2.0190
Problem: Kotlin files are not recognized.
Solution: Detect Kotlin files. (Alkeryn, closes #5560)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 1347c42b2b..e2e48c9976 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -384,7 +384,7 @@ au BufNewFile,BufRead configure.in,configure.ac setf config " CUDA Cumpute Unified Device Architecture 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 " WildPackets EtherPeek Decoder @@ -833,6 +833,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 |