mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:9.0.1350: CPON files are not recognized (#22392)
Problem: CPON files are not recognized.
Solution: Add patterns for CPON files. (Amaan Qureshi, closes vim/vim#12053)
c2254764bc
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
This commit is contained in:
parent
1803dadb20
commit
4297127f14
@ -242,6 +242,7 @@ local extension = {
|
||||
csh = function(path, bufnr)
|
||||
return require('vim.filetype.detect').csh(path, bufnr)
|
||||
end,
|
||||
cpon = 'cpon',
|
||||
moc = 'cpp',
|
||||
hh = 'cpp',
|
||||
tlh = 'cpp',
|
||||
|
@ -126,6 +126,7 @@ let s:filename_checks = {
|
||||
\ 'confini': ['/etc/pacman.conf', 'any/etc/pacman.conf', 'mpv.conf', 'any/.aws/config', 'any/.aws/credentials', 'file.nmconnection'],
|
||||
\ 'context': ['tex/context/any/file.tex', 'file.mkii', 'file.mkiv', 'file.mkvi', 'file.mkxl', 'file.mklx'],
|
||||
\ 'cook': ['file.cook'],
|
||||
\ 'cpon': ['file.cpon'],
|
||||
\ 'cpp': ['file.cxx', 'file.c++', 'file.hh', 'file.hxx', 'file.hpp', 'file.ipp', 'file.moc', 'file.tcc', 'file.inl', 'file.tlh'],
|
||||
\ 'cqlang': ['file.cql'],
|
||||
\ 'crm': ['file.crm'],
|
||||
|
Loading…
Reference in New Issue
Block a user