mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 09:18:19 +00:00
vim-patch:8.2.4424: ".gts" and ".gjs" files are not recognized (#17464)
Problem: ".gts" and ".gjs" files are not recognized.
Solution: Recognize Glimmer flavored typescript and javascript.
(closes vim/vim#9799)
cdf717283c
This commit is contained in:
@@ -272,6 +272,7 @@ let s:filename_checks = {
|
||||
\ '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'],
|
||||
@@ -546,6 +547,7 @@ let s:filename_checks = {
|
||||
\ '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'],
|
||||
|
Reference in New Issue
Block a user