mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 12:45:17 -07:00
vim-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: vim/vim#16087
c8dfcfc53b
Co-authored-by: Turiiya <34311583+ttytm@users.noreply.github.com>
This commit is contained in:
parent
23ead4f2cb
commit
f55c842ec7
@ -275,6 +275,9 @@ local extension = {
|
||||
mdh = 'c',
|
||||
epro = 'c',
|
||||
qc = 'c',
|
||||
c3 = 'c3',
|
||||
c3i = 'c3',
|
||||
c3t = 'c3',
|
||||
cabal = 'cabal',
|
||||
cairo = 'cairo',
|
||||
capnp = 'capnp',
|
||||
|
@ -144,6 +144,7 @@ func s:GetFilenameChecks() abort
|
||||
\ '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")] + s:WhenConfigHome('$XDG_CONFIG_HOME/cabal/config'),
|
||||
\ 'cabalproject': ['cabal.project', 'cabal.project.local'],
|
||||
|
Loading…
Reference in New Issue
Block a user