diff options
author | Amaan Qureshi <amaanq12@gmail.com> | 2023-01-30 15:19:57 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-01-30 15:19:57 +0000 |
commit | 907349a74331fc1bc48cf43c1e7d54cb9e0e4fc9 (patch) | |
tree | abf1e403349f9e6c43af95bd825476d04d016214 | |
parent | f2e30d0c448b9754d0d4daa901b51fbbf4c30747 (diff) | |
download | vim-git-9.0.1263.tar.gz |
patch 9.0.1263: KDL files are not recognizedv9.0.1263
Problem: KDL files are not recognized.
Solution: Add a pattern for KDL files. (Amaan Qureshi, closes #11898)
-rw-r--r-- | runtime/filetype.vim | 3 | ||||
-rw-r--r-- | src/testdir/test_filetype.vim | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
3 files changed, 6 insertions, 0 deletions
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 @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1263, +/**/ 1262, /**/ 1261, |