To: vim_dev@googlegroups.com Subject: Patch 8.2.4424 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4424 Problem: ".gts" and ".gjs" files are not recognized. Solution: Recognize Glimmer flavored typescript and javascript. (closes #9799) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-8.2.4423/runtime/filetype.vim 2022-02-18 13:45:51.719569986 +0000 --- runtime/filetype.vim 2022-02-19 16:30:19.604335513 +0000 *************** *** 730,735 **** --- 730,739 ---- au BufNewFile,BufRead gitolite.conf setf gitolite au BufNewFile,BufRead {,.}gitolite.rc,example.gitolite.rc setf perl + " Glimmer-flavored TypeScript and JavaScript + au BufNewFile,BufRead *.gts setf typescript.glimmer + au BufNewFile,BufRead *.gjs setf javascript.glimmer + " Gnuplot scripts au BufNewFile,BufRead *.gpi,.gnuplot setf gnuplot *** ../vim-8.2.4423/src/testdir/test_filetype.vim 2022-02-18 13:45:51.719569986 +0000 --- src/testdir/test_filetype.vim 2022-02-19 16:30:19.608335509 +0000 *************** *** 272,277 **** --- 272,278 ---- \ 'java': ['file.java', 'file.jav'], \ 'javacc': ['file.jj', 'file.jjt'], \ 'javascript': ['file.js', 'file.javascript', 'file.es', 'file.mjs', 'file.cjs'], + \ 'javascript.glimmer': ['file.gjs'], \ 'javascriptreact': ['file.jsx'], \ 'jess': ['file.clp'], \ 'jgraph': ['file.jgr'], *************** *** 547,552 **** --- 548,554 ---- \ 'tssgm': ['file.tssgm'], \ 'tssop': ['file.tssop'], \ 'twig': ['file.twig'], + \ 'typescript.glimmer': ['file.gts'], \ 'typescriptreact': ['file.tsx'], \ 'uc': ['file.uc'], \ 'udevconf': ['/etc/udev/udev.conf', 'any/etc/udev/udev.conf'], *** ../vim-8.2.4423/src/version.c 2022-02-19 16:00:12.594199393 +0000 --- src/version.c 2022-02-19 16:35:42.035980853 +0000 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 4424, /**/ -- hundred-and-one symptoms of being an internet addict: 82. AT&T names you Customer of the Month for the third consecutive time. /// 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 ///