mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 9.0.0600: GYP files are not recognized
Problem: GYP files are not recognized. Solution: Recognize GYP files. (closes #11242)
This commit is contained in:
committed by
Bram Moolenaar
parent
cde0319385
commit
d324742292
@@ -802,6 +802,9 @@ au BufNewFile,BufRead */etc/group,*/etc/group-,*/etc/group.edit,*/etc/gshadow,*/
|
||||
" GTK RC
|
||||
au BufNewFile,BufRead .gtkrc,gtkrc setf gtkrc
|
||||
|
||||
" GYP
|
||||
au BufNewFile,BufRead *.gyp,*.gypi setf gyp
|
||||
|
||||
" Hack
|
||||
au BufRead,BufNewFile *.hack,*.hackpartial setf hack
|
||||
|
||||
|
@@ -240,6 +240,7 @@ let s:filename_checks = {
|
||||
\ 'grub': ['/boot/grub/menu.lst', '/boot/grub/grub.conf', '/etc/grub.conf', 'any/boot/grub/grub.conf', 'any/boot/grub/menu.lst', 'any/etc/grub.conf'],
|
||||
\ 'gsp': ['file.gsp'],
|
||||
\ 'gtkrc': ['.gtkrc', 'gtkrc', '.gtkrc-file', 'gtkrc-file'],
|
||||
\ 'gyp': ['file.gyp', 'file.gypi'],
|
||||
\ 'hack': ['file.hack', 'file.hackpartial'],
|
||||
\ 'haml': ['file.haml'],
|
||||
\ 'hamster': ['file.hsm'],
|
||||
|
@@ -699,6 +699,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
600,
|
||||
/**/
|
||||
599,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user