changeset 31125:0100be942b82 v9.0.0897

patch 9.0.0897: Clinical Quality Language files are not recognized Commit: https://github.com/vim/vim/commit/12babe45a389cd1ea8befd5b06239e877b4abbba Author: mgramigna <mgramigna@mitre.org> Date: Thu Nov 17 18:30:16 2022 +0000 patch 9.0.0897: Clinical Quality Language files are not recognized Problem: Clinical Quality Language files are not recognized. Solution: Add the "*.cql" pattern. (Matthew Gramigna, closes https://github.com/vim/vim/issues/11452)
author Bram Moolenaar <Bram@vim.org>
date Thu, 17 Nov 2022 19:45:03 +0100
parents 3dc3209008eb
children 9f8f5c88f157
files runtime/filetype.vim src/testdir/test_filetype.vim src/version.c
diffstat 3 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -419,6 +419,12 @@ au BufNewFile,BufRead configure.in,confi
 " 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
 
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -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'],
--- 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 */
 /**/
+    897,
+/**/
     896,
 /**/
     895,