patch 9.1.0880: filetype: C3 files are not recognized

Problem:  filetype: C3 files are not recognized
Solution: detect '*.c3*' files as c3 filetype (Turiiya)

closes: #16087

Signed-off-by: Turiiya <34311583+ttytm@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Turiiya
2024-11-19 23:05:21 +01:00
committed by Christian Brabandt
parent cb34507b5f
commit c8dfcfc53b
3 changed files with 6 additions and 0 deletions

View File

@ -311,6 +311,9 @@ au BufNewFile,BufRead */.bundle/config setf yaml
au BufNewFile,BufRead *.c call dist#ft#FTlpc()
au BufNewFile,BufRead *.lpc,*.ulpc setf lpc
" C3
au BufNewFile,BufRead *.c3,*.c3i,*.c3t setf c3
" Cairo
au BufNewFile,BufRead *.cairo setf cairo

View File

@ -144,6 +144,7 @@ def s:GetFilenameChecks(): dict<list<string>>
bzl: ['file.bazel', 'file.bzl', 'WORKSPACE', 'WORKSPACE.bzlmod'],
bzr: ['bzr_log.any', 'bzr_log.file'],
c: ['enlightenment/file.cfg', 'file.qc', 'file.c', 'some-enlightenment/file.cfg', 'file.mdh', 'file.epro'],
c3: ['file.c3', 'file.c3i', 'file.c3t'],
cabal: ['file.cabal'],
cabalconfig: ['cabal.config', expand("$HOME/.config/cabal/config")] + WhenConfigHome('$XDG_CONFIG_HOME/cabal/config'),
cabalproject: ['cabal.project', 'cabal.project.local'],

View File

@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
880,
/**/
879,
/**/