mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
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:
parent
760a8754c0
commit
e176f9dacf
@ -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
|
||||
|
||||
|
@ -448,6 +448,8 @@ local extension = {
|
||||
gsp = 'gsp',
|
||||
gjs = 'javascript.glimmer',
|
||||
gts = 'typescript.glimmer',
|
||||
gyp = 'gyp',
|
||||
gypi = 'gyp',
|
||||
hack = 'hack',
|
||||
hackpartial = 'hack',
|
||||
haml = 'haml',
|
||||
|
@ -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'],
|
||||
|
Loading…
Reference in New Issue
Block a user