Mercurial > vim
comparison src/testdir/test_filetype.vim @ 31499:16174b7435a0 v9.0.1082
patch 9.0.1082: some jsonc files are not recognized
Commit: https://github.com/vim/vim/commit/104b2ff4d0ec9248ba0b979aa3bbccb65fcad422
Author: kylo252 <59826753+kylo252@users.noreply.github.com>
Date: Mon Dec 19 20:42:49 2022 +0000
patch 9.0.1082: some jsonc files are not recognized
Problem: Some jsonc files are not recognized.
Solution: Add patterns for jsonc and move some from json to jsonc.
(closes #11711)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 19 Dec 2022 21:45:03 +0100 |
parents | 429bed14e24b |
children | 7f3f8543611e |
comparison
equal
deleted
inserted
replaced
31498:725d1f67e7a5 | 31499:16174b7435a0 |
---|---|
285 \ 'javascriptreact': ['file.jsx'], | 285 \ 'javascriptreact': ['file.jsx'], |
286 \ 'jess': ['file.clp'], | 286 \ 'jess': ['file.clp'], |
287 \ 'jgraph': ['file.jgr'], | 287 \ 'jgraph': ['file.jgr'], |
288 \ 'jovial': ['file.jov', 'file.j73', 'file.jovial'], | 288 \ 'jovial': ['file.jov', 'file.j73', 'file.jovial'], |
289 \ 'jproperties': ['file.properties', 'file.properties_xx', 'file.properties_xx_xx', 'some.properties_xx_xx_file', 'org.eclipse.xyz.prefs'], | 289 \ 'jproperties': ['file.properties', 'file.properties_xx', 'file.properties_xx_xx', 'some.properties_xx_xx_file', 'org.eclipse.xyz.prefs'], |
290 \ 'json': ['file.json', 'file.jsonp', 'file.json-patch', 'file.webmanifest', 'Pipfile.lock', 'file.ipynb', '.babelrc', '.eslintrc', '.prettierrc', '.firebaserc', 'file.slnf'], | 290 \ 'json': ['file.json', 'file.jsonp', 'file.json-patch', 'file.webmanifest', 'Pipfile.lock', 'file.ipynb', '.prettierrc', '.firebaserc', 'file.slnf'], |
291 \ 'json5': ['file.json5'], | 291 \ 'json5': ['file.json5'], |
292 \ 'jsonc': ['file.jsonc'], | 292 \ 'jsonc': ['file.jsonc', '.babelrc', '.eslintrc', '.jsfmtrc', '.jshintc', '.hintrc', '.swrc', 'jsconfig.json', 'tsconfig.json', 'tsconfig.test.json', 'tsconfig-test.json'], |
293 \ 'jsonnet': ['file.jsonnet', 'file.libsonnet'], | 293 \ 'jsonnet': ['file.jsonnet', 'file.libsonnet'], |
294 \ 'jsp': ['file.jsp'], | 294 \ 'jsp': ['file.jsp'], |
295 \ 'julia': ['file.jl'], | 295 \ 'julia': ['file.jl'], |
296 \ 'kconfig': ['Kconfig', 'Kconfig.debug', 'Kconfig.file'], | 296 \ 'kconfig': ['Kconfig', 'Kconfig.debug', 'Kconfig.file'], |
297 \ 'kivy': ['file.kv'], | 297 \ 'kivy': ['file.kv'], |