mirror of
https://github.com/vim/vim.git
synced 2025-08-26 20:03:41 -04: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:
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 *.c call dist#ft#FTlpc()
|
||||||
au BufNewFile,BufRead *.lpc,*.ulpc setf lpc
|
au BufNewFile,BufRead *.lpc,*.ulpc setf lpc
|
||||||
|
|
||||||
|
" C3
|
||||||
|
au BufNewFile,BufRead *.c3,*.c3i,*.c3t setf c3
|
||||||
|
|
||||||
" Cairo
|
" Cairo
|
||||||
au BufNewFile,BufRead *.cairo setf 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'],
|
bzl: ['file.bazel', 'file.bzl', 'WORKSPACE', 'WORKSPACE.bzlmod'],
|
||||||
bzr: ['bzr_log.any', 'bzr_log.file'],
|
bzr: ['bzr_log.any', 'bzr_log.file'],
|
||||||
c: ['enlightenment/file.cfg', 'file.qc', 'file.c', 'some-enlightenment/file.cfg', 'file.mdh', 'file.epro'],
|
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'],
|
cabal: ['file.cabal'],
|
||||||
cabalconfig: ['cabal.config', expand("$HOME/.config/cabal/config")] + WhenConfigHome('$XDG_CONFIG_HOME/cabal/config'),
|
cabalconfig: ['cabal.config', expand("$HOME/.config/cabal/config")] + WhenConfigHome('$XDG_CONFIG_HOME/cabal/config'),
|
||||||
cabalproject: ['cabal.project', 'cabal.project.local'],
|
cabalproject: ['cabal.project', 'cabal.project.local'],
|
||||||
|
@ -704,6 +704,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
880,
|
||||||
/**/
|
/**/
|
||||||
879,
|
879,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user