mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00:00
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:
committed by
Christian Brabandt
parent
cb34507b5f
commit
c8dfcfc53b
@ -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
|
||||
|
||||
|
@ -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'],
|
||||
|
@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
880,
|
||||
/**/
|
||||
879,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user