From: Amaan Qureshi Date: Mon, 30 Jan 2023 15:19:57 +0000 (+0000) Subject: patch 9.0.1263: KDL files are not recognized X-Git-Tag: v9.0.1263 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=907349a74331fc1bc48cf43c1e7d54cb9e0e4fc9;p=vim patch 9.0.1263: KDL files are not recognized Problem: KDL files are not recognized. Solution: Add a pattern for KDL files. (Amaan Qureshi, closes #11898) --- diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 8654362af..200153e75 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1032,6 +1032,9 @@ au BufNewFile,BufRead *.jsonnet,*.libsonnet setf jsonnet " Julia au BufNewFile,BufRead *.jl setf julia +" KDL +au BufNewFile,BufRead *.kdl setf kdl + " Kixtart au BufNewFile,BufRead *.kix setf kix diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index a6d87aef2..790d98c55 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -300,6 +300,7 @@ let s:filename_checks = { \ 'jsp': ['file.jsp'], \ 'julia': ['file.jl'], \ 'kconfig': ['Kconfig', 'Kconfig.debug', 'Kconfig.file'], + \ 'kdl': ['file.kdl'], \ 'kivy': ['file.kv'], \ 'kix': ['file.kix'], \ 'kotlin': ['file.kt', 'file.ktm', 'file.kts'], diff --git a/src/version.c b/src/version.c index bb1549208..7e93b11da 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1263, /**/ 1262, /**/