diff options
author | mgramigna <mgramigna@mitre.org> | 2022-11-17 18:30:16 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-11-17 18:30:16 +0000 |
commit | 12babe45a389cd1ea8befd5b06239e877b4abbba (patch) | |
tree | d8bb375d65fafe5a1367a88998e3893d16c60e8f | |
parent | 1d8765daba6f4b3b7fcf51a77e9d1ba0090c826e (diff) |
patch 9.0.0897: Clinical Quality Language files are not recognizedv9.0.0897
Problem: Clinical Quality Language files are not recognized.
Solution: Add the "*.cql" pattern. (Matthew Gramigna, closes #11452)
-rw-r--r-- | runtime/filetype.vim | 6 | ||||
-rw-r--r-- | src/testdir/test_filetype.vim | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
3 files changed, 9 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index ba3f81f940..5a6e83ed8a 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -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 diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index 7b41955e8a..cc48e5a553 100644 --- 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'], diff --git a/src/version.c b/src/version.c index e3af095471..1f795627d1 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 */ /**/ + 897, +/**/ 896, /**/ 895, |