From: ObserverOfTime Date: Tue, 20 Sep 2022 11:02:28 +0000 (+0100) Subject: patch 9.0.0510: Chatito files are not recognized X-Git-Tag: v9.0.0510 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7c046ae99ba85a4fdf1a546157e2ed6f12b79ea6;p=vim patch 9.0.0510: Chatito files are not recognized Problem: Chatito files are not recognized. Solution: Add a pattern for Chatito files. (closes #11174) --- diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 9af7880d0..78d723c58 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -299,6 +299,9 @@ au BufNewFile,BufRead cfengine.conf setf cfengine " ChaiScript au BufRead,BufNewFile *.chai setf chaiscript +" Chatito +au BufNewFile,BufRead *.chatito setf chatito + " Comshare Dimension Definition Language au BufNewFile,BufRead *.cdl setf cdl diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index fa641f1db..03384b60c 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -108,6 +108,7 @@ let s:filename_checks = { \ 'ch': ['file.chf'], \ 'chaiscript': ['file.chai'], \ 'chaskell': ['file.chs'], + \ 'chatito': ['file.chatito'], \ 'chill': ['file..ch'], \ 'chordpro': ['file.chopro', 'file.crd', 'file.cho', 'file.crdpro', 'file.chordpro'], \ 'cl': ['file.eni'], diff --git a/src/version.c b/src/version.c index 22db89017..d7d5bd393 100644 --- a/src/version.c +++ b/src/version.c @@ -699,6 +699,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 510, /**/ 509, /**/