]> granicus.if.org Git - vim/commitdiff
patch 9.0.0897: Clinical Quality Language files are not recognized v9.0.0897
authormgramigna <mgramigna@mitre.org>
Thu, 17 Nov 2022 18:30:16 +0000 (18:30 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 17 Nov 2022 18:30:16 +0000 (18:30 +0000)
Problem:    Clinical Quality Language files are not recognized.
Solution:   Add the "*.cql" pattern. (Matthew Gramigna, closes #11452)

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

index ba3f81f9404862189fdeec09cd77799a1c1d1c7d..5a6e83ed8a05f16e81e2177e35d45bdd32154c3b 100644 (file)
@@ -419,6 +419,12 @@ au BufNewFile,BufRead configure.in,configure.ac setf config
 " Cooklang
 au BufNewFile,BufRead *.cook                   setf cook
 
+" Clinical Quality Language (CQL)
+" .cql is also mentioned as the 'XDCC Catcher queue list' file extension.
+" If support for XDCC Catcher is needed in the future, the contents of the file
+" needs to be inspected.
+au BufNewFile,BufRead *.cql                    setf cqlang
+
 " CSV Files
 au BufNewFile,BufRead *.csv                    setf csv
 
index 7b41955e8a490a02b017044ffd5997c02f0be068..cc48e5a5535222d43d6f76be70660eb02d5ce4bf 100644 (file)
@@ -124,6 +124,7 @@ let s:filename_checks = {
     \ 'context': ['tex/context/any/file.tex', 'file.mkii', 'file.mkiv', 'file.mkvi', 'file.mkxl', 'file.mklx'],
     \ 'cook': ['file.cook'],
     \ 'cpp': ['file.cxx', 'file.c++', 'file.hh', 'file.hxx', 'file.hpp', 'file.ipp', 'file.moc', 'file.tcc', 'file.inl', 'file.tlh'],
+    \ 'cqlang': ['file.cql'],
     \ 'crm': ['file.crm'],
     \ 'crontab': ['crontab', 'crontab.file', '/etc/cron.d/file', 'any/etc/cron.d/file'],
     \ 'cs': ['file.cs', 'file.csx'],
index e3af0954712e10ff4850900dd8f8553954bfb1ca..1f795627d1072f16db4491d46f2609dd26ad0f1a 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    897,
 /**/
     896,
 /**/