To: vim_dev@googlegroups.com Subject: Patch 9.0.0600 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0600 Problem: GYP files are not recognized. Solution: Recognize GYP files. (closes #11242) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-9.0.0599/runtime/filetype.vim 2022-09-27 11:27:18.611708329 +0100 --- runtime/filetype.vim 2022-09-27 11:31:57.276563198 +0100 *************** *** 802,807 **** --- 802,810 ---- " 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 *** ../vim-9.0.0599/src/testdir/test_filetype.vim 2022-09-27 11:27:18.611708329 +0100 --- src/testdir/test_filetype.vim 2022-09-27 11:31:57.276563198 +0100 *************** *** 240,245 **** --- 240,246 ---- \ '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'], *** ../vim-9.0.0599/src/version.c 2022-09-27 11:27:18.611708329 +0100 --- src/version.c 2022-09-27 11:33:47.391623227 +0100 *************** *** 701,702 **** --- 701,704 ---- { /* Add new patch number below this line */ + /**/ + 600, /**/ -- I'm in shape. Round IS a shape. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///