mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00:00
patch 9.0.1229: Cap'n Proto files are not recognized
Problem: Cap'n Proto files are not recognized. Solution: Add a pattern and the "capnp" filetype. (Amaan Qureshi, closes #11862)
This commit is contained in:
committed by
Bram Moolenaar
parent
145a6afe3a
commit
040e795e8d
@ -277,6 +277,9 @@ au BufNewFile,BufRead *.lpc,*.ulpc setf lpc
|
||||
" Calendar
|
||||
au BufNewFile,BufRead calendar setf calendar
|
||||
|
||||
" Cap'n Proto
|
||||
au BufNewFile,BufRead *.capnp setf capnp
|
||||
|
||||
" C#
|
||||
au BufNewFile,BufRead *.cs,*.csx setf cs
|
||||
|
||||
|
@ -96,6 +96,7 @@ let s:filename_checks = {
|
||||
\ 'cabalconfig': ['cabal.config'],
|
||||
\ 'cabalproject': ['cabal.project', 'cabal.project.local'],
|
||||
\ 'calendar': ['calendar', '/.calendar/file', '/share/calendar/any/calendar.file', '/share/calendar/calendar.file', 'any/share/calendar/any/calendar.file', 'any/share/calendar/calendar.file'],
|
||||
\ 'capnp': ['file.capnp'],
|
||||
\ 'catalog': ['catalog', 'sgml.catalogfile', 'sgml.catalog', 'sgml.catalog-file'],
|
||||
\ 'cdl': ['file.cdl'],
|
||||
\ 'cdrdaoconf': ['/etc/cdrdao.conf', '/etc/defaults/cdrdao', '/etc/default/cdrdao', '.cdrdao', 'any/etc/cdrdao.conf', 'any/etc/default/cdrdao', 'any/etc/defaults/cdrdao'],
|
||||
|
@ -695,6 +695,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1229,
|
||||
/**/
|
||||
1228,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user