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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220219163657.BF3A01C0FE0%40moolenaar.net.

Raspunde prin e-mail lui