Mercurial > vim
comparison src/testdir/test_filetype.vim @ 27796:8fdc92bdcff1 v8.2.4424
patch 8.2.4424: ".gts" and ".gjs" files are not recognized
Commit: https://github.com/vim/vim/commit/cdf717283ca70b18f20b8a2cefe7957083280c6f
Author: NullVoxPopuli <LPSego3+dev@gmail.com>
Date: Sat Feb 19 16:35:58 2022 +0000
patch 8.2.4424: ".gts" and ".gjs" files are not recognized
Problem: ".gts" and ".gjs" files are not recognized.
Solution: Recognize Glimmer flavored typescript and javascript.
(closes #9799)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 19 Feb 2022 17:45:05 +0100 |
parents | addcf70c8346 |
children | 834d3fba1e7c |
comparison
equal
deleted
inserted
replaced
27795:b622a834ac9c | 27796:8fdc92bdcff1 |
---|---|
270 \ 'jal': ['file.jal', 'file.JAL'], | 270 \ 'jal': ['file.jal', 'file.JAL'], |
271 \ 'jam': ['file.jpl', 'file.jpr', 'JAM-file.file', 'JAM.file', 'Prl-file.file', 'Prl.file'], | 271 \ 'jam': ['file.jpl', 'file.jpr', 'JAM-file.file', 'JAM.file', 'Prl-file.file', 'Prl.file'], |
272 \ 'java': ['file.java', 'file.jav'], | 272 \ 'java': ['file.java', 'file.jav'], |
273 \ 'javacc': ['file.jj', 'file.jjt'], | 273 \ 'javacc': ['file.jj', 'file.jjt'], |
274 \ 'javascript': ['file.js', 'file.javascript', 'file.es', 'file.mjs', 'file.cjs'], | 274 \ 'javascript': ['file.js', 'file.javascript', 'file.es', 'file.mjs', 'file.cjs'], |
275 \ 'javascript.glimmer': ['file.gjs'], | |
275 \ 'javascriptreact': ['file.jsx'], | 276 \ 'javascriptreact': ['file.jsx'], |
276 \ 'jess': ['file.clp'], | 277 \ 'jess': ['file.clp'], |
277 \ 'jgraph': ['file.jgr'], | 278 \ 'jgraph': ['file.jgr'], |
278 \ 'jovial': ['file.jov', 'file.j73', 'file.jovial'], | 279 \ 'jovial': ['file.jov', 'file.j73', 'file.jovial'], |
279 \ 'jproperties': ['file.properties', 'file.properties_xx', 'file.properties_xx_xx', 'some.properties_xx_xx_file'], | 280 \ 'jproperties': ['file.properties', 'file.properties_xx', 'file.properties_xx_xx', 'some.properties_xx_xx_file'], |
545 \ 'tsalt': ['file.slt'], | 546 \ 'tsalt': ['file.slt'], |
546 \ 'tsscl': ['file.tsscl'], | 547 \ 'tsscl': ['file.tsscl'], |
547 \ 'tssgm': ['file.tssgm'], | 548 \ 'tssgm': ['file.tssgm'], |
548 \ 'tssop': ['file.tssop'], | 549 \ 'tssop': ['file.tssop'], |
549 \ 'twig': ['file.twig'], | 550 \ 'twig': ['file.twig'], |
551 \ 'typescript.glimmer': ['file.gts'], | |
550 \ 'typescriptreact': ['file.tsx'], | 552 \ 'typescriptreact': ['file.tsx'], |
551 \ 'uc': ['file.uc'], | 553 \ 'uc': ['file.uc'], |
552 \ 'udevconf': ['/etc/udev/udev.conf', 'any/etc/udev/udev.conf'], | 554 \ 'udevconf': ['/etc/udev/udev.conf', 'any/etc/udev/udev.conf'], |
553 \ 'udevperm': ['/etc/udev/permissions.d/file.permissions', 'any/etc/udev/permissions.d/file.permissions'], | 555 \ 'udevperm': ['/etc/udev/permissions.d/file.permissions', 'any/etc/udev/permissions.d/file.permissions'], |
554 \ 'udevrules': ['/etc/udev/rules.d/file.rules', '/usr/lib/udev/rules.d/file.rules', '/lib/udev/rules.d/file.rules'], | 556 \ 'udevrules': ['/etc/udev/rules.d/file.rules', '/usr/lib/udev/rules.d/file.rules', '/lib/udev/rules.d/file.rules'], |