]> granicus.if.org Git - vim/commitdiff
patch 9.0.0510: Chatito files are not recognized v9.0.0510
authorObserverOfTime <chronobserver@disroot.org>
Tue, 20 Sep 2022 11:02:28 +0000 (12:02 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 20 Sep 2022 11:02:28 +0000 (12:02 +0100)
Problem:    Chatito files are not recognized.
Solution:   Add a pattern for Chatito files. (closes #11174)

runtime/filetype.vim
src/testdir/test_filetype.vim
src/version.c

index 9af7880d088d81a823d53ce2b11994aa63f1c360..78d723c58215c4a9a2299a1c3d24c0ef44e137a4 100644 (file)
@@ -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
 
index fa641f1dbbf08e43f873a8dc0b519f5d5abdb84f..03384b60c4c4f865020037e9b6609a3e6c51e042 100644 (file)
@@ -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'],
index 22db89017bf4428b2e54fe7057ae48eff5deef0e..d7d5bd3936105cfb5e08ea36928b4fb501049649 100644 (file)
@@ -699,6 +699,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    510,
 /**/
     509,
 /**/