mirror of
https://github.com/neovim/neovim.git
synced 2024-12-31 17:13:26 -07:00
vim-patch:9.0.1587: Corn config files are not recognized (#23807)
Problem: Corn config files are not recognized.
Solution: Add a pattern for Corn config files. (Jake Stanger, closes vim/vim#12449)
05843e8960
Co-authored-by: Jake Stanger <mail@jstanger.dev>
This commit is contained in:
parent
9dd48f7832
commit
b8a2220f5e
@ -241,6 +241,7 @@ local extension = {
|
||||
copyright = function(path, bufnr)
|
||||
return require('vim.filetype.detect').copyright(bufnr)
|
||||
end,
|
||||
corn = 'corn',
|
||||
csh = function(path, bufnr)
|
||||
return require('vim.filetype.detect').csh(path, bufnr)
|
||||
end,
|
||||
|
@ -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'],
|
||||
\ 'corn': ['file.corn'],
|
||||
\ 'cpon': ['file.cpon'],
|
||||
\ 'cpp': ['file.cxx', 'file.c++', 'file.hh', 'file.hxx', 'file.hpp', 'file.ipp', 'file.moc', 'file.tcc', 'file.inl', 'file.tlh', 'file.cppm', 'file.ccm', 'file.cxxm', 'file.c++m'],
|
||||
\ 'cqlang': ['file.cql'],
|
||||
|
Loading…
Reference in New Issue
Block a user