diff runtime/filetype.vim @ 19263:06d9be5c0107 v8.2.0190

patch 8.2.0190: Kotlin files are not recognized Commit: https://github.com/vim/vim/commit/ab067a21b9622513ed75f4801b001606eeaf2474 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jan 31 22:57:59 2020 +0100 patch 8.2.0190: Kotlin files are not recognized Problem: Kotlin files are not recognized. Solution: Detect Kotlin files. (Alkeryn, closes https://github.com/vim/vim/issues/5560)
author Bram Moolenaar <Bram@vim.org>
date Fri, 31 Jan 2020 23:00:09 +0100
parents 861b1cc1a8a2
children 7be3663e2f2b
line wrap: on
line diff
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -384,7 +384,7 @@ au BufNewFile,BufRead configure.in,confi
 " 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