aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorAlkeryn <im.alkeryn@gmail.com>2020-02-01 23:15:36 +0100
committerGitHub <noreply@github.com>2020-02-01 14:15:36 -0800
commit26199fedca0c90bdfb1b3279de2ad737fd308e52 (patch)
treea3e0ca6dfc35bf8e7115e00a2380d448a0cb4f2a /runtime
parent14a8b3b98c245087ef431070195f3a2fa3db16c0 (diff)
downloadrneovim-26199fedca0c90bdfb1b3279de2ad737fd308e52.tar.gz
rneovim-26199fedca0c90bdfb1b3279de2ad737fd308e52.tar.bz2
rneovim-26199fedca0c90bdfb1b3279de2ad737fd308e52.zip
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) https://github.com/vim/vim/commit/ab067a21b9622513ed75f4801b001606eeaf2474
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 656ee36484..1121ea4460 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -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