vim-patch:9.0.0600: GYP files are not recognized

Problem:    GYP files are not recognized.
Solution:   Recognize GYP files. (closes vim/vim#11242)
d324742292
This commit is contained in:
Christian Clason
2022-09-27 12:38:31 +02:00
parent 760a8754c0
commit e176f9dacf
3 changed files with 6 additions and 0 deletions

View File

@@ -803,6 +803,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

View File

@@ -448,6 +448,8 @@ local extension = {
gsp = 'gsp',
gjs = 'javascript.glimmer',
gts = 'typescript.glimmer',
gyp = 'gyp',
gypi = 'gyp',
hack = 'hack',
hackpartial = 'hack',
haml = 'haml',