patch 9.1.2146: filetype: cel files are not recognized

Problem:  filetype: cel files are not recognized
Solution: Detect *.cel files as cel filetype (Stefan VanBuren).

Reference:
https://cel.dev/
https://github.com/google/cel-java/blob/e36c49febc36bcb16ef4f07274fcc8873c1eee59/testing/src/test/resources/expressions/coverage_test_case/simple_expression.cel
https://github.com/elastic/mito/blob/d0d2dbabae5c563dd943c61fd52992acb655942d/example.cel

closes: #19381

Signed-off-by: Stefan VanBuren <svanburen@buf.build>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Stefan VanBuren
2026-02-12 18:22:42 +01:00
committed by Christian Brabandt
parent 56033b9df3
commit fb5777fa20
4 changed files with 9 additions and 0 deletions
+2
View File
@@ -1832,6 +1832,8 @@ const ft_from_ext = {
"tlh": "cpp",
# Cascading Style Sheets
"css": "css",
# Common Expression Language (CEL) - https://cel.dev
"cel": "cel",
# Century Term Command Scripts (*.cmd too)
"con": "cterm",
# ChordPro
+4
View File
@@ -52553,4 +52553,8 @@ Patch 9.1.2145
Problem: intstalltutor Makefile target does not create the tutor/sv dir
Solution: Add the missing mkdir() calls to the Makefile (Ross Burton)
Patch 9.1.2146
Problem: filetype: cel files are not recognized
Solution: Detect *.cel files as cel filetype (Stefan VanBuren).
vim:tw=78:ts=8:noet:ft=help:norl:fdm=manual:nofoldenable
+1
View File
@@ -171,6 +171,7 @@ def s:GetFilenameChecks(): dict<list<string>>
cdrdaoconf: ['/etc/cdrdao.conf', '/etc/defaults/cdrdao', '/etc/default/cdrdao', '.cdrdao', 'any/etc/cdrdao.conf', 'any/etc/default/cdrdao', 'any/etc/defaults/cdrdao'],
cdrtoc: ['file.toc'],
cedar: ['file.cedar'],
cel: ['file.cel'],
cf: ['file.cfm', 'file.cfi', 'file.cfc'],
cfengine: ['cfengine.conf'],
cfg: ['file.hgrc', 'filehgrc', 'hgrc', 'some-hgrc'],
+2
View File
@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2146,
/**/
2145,
/**/