aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkylo252 <59826753+kylo252@users.noreply.github.com>2022-12-20 18:04:47 +0100
committerGitHub <noreply@github.com>2022-12-20 18:04:47 +0100
commit45d1b1c6788a5694850361b5ffa95d63eb75b2f5 (patch)
tree7e9fbab48c1dd67b1efe8f22bac1f8d1c6c09237 /src
parentf04087d8ba0623d1946eefe0f71d5f3e92d58c14 (diff)
downloadrneovim-45d1b1c6788a5694850361b5ffa95d63eb75b2f5.tar.gz
rneovim-45d1b1c6788a5694850361b5ffa95d63eb75b2f5.tar.bz2
rneovim-45d1b1c6788a5694850361b5ffa95d63eb75b2f5.zip
vim-patch:9.0.1082: some jsonc files are not recognized (#21483)
Problem: Some jsonc files are not recognized. Solution: Add patterns for jsonc and move some from json to jsonc. (closes vim/vim#11711) https://github.com/vim/vim/commit/104b2ff4d0ec9248ba0b979aa3bbccb65fcad422 Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_filetype.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_filetype.vim b/src/nvim/testdir/test_filetype.vim
index 3edfa1b407..704edbf166 100644
--- a/src/nvim/testdir/test_filetype.vim
+++ b/src/nvim/testdir/test_filetype.vim
@@ -289,9 +289,9 @@ let s:filename_checks = {
\ 'jgraph': ['file.jgr'],
\ 'jovial': ['file.jov', 'file.j73', 'file.jovial'],
\ 'jproperties': ['file.properties', 'file.properties_xx', 'file.properties_xx_xx', 'some.properties_xx_xx_file', 'org.eclipse.xyz.prefs'],
- \ 'json': ['file.json', 'file.jsonp', 'file.json-patch', 'file.webmanifest', 'Pipfile.lock', 'file.ipynb', '.babelrc', '.eslintrc', '.prettierrc', '.firebaserc', 'file.slnf'],
+ \ 'json': ['file.json', 'file.jsonp', 'file.json-patch', 'file.webmanifest', 'Pipfile.lock', 'file.ipynb', '.prettierrc', '.firebaserc', 'file.slnf'],
\ 'json5': ['file.json5'],
- \ 'jsonc': ['file.jsonc'],
+ \ 'jsonc': ['file.jsonc', '.babelrc', '.eslintrc', '.jsfmtrc', '.jshintrc', '.hintrc', '.swrc', 'jsconfig.json', 'tsconfig.json', 'tsconfig.test.json', 'tsconfig-test.json'],
\ 'jsonnet': ['file.jsonnet', 'file.libsonnet'],
\ 'jsp': ['file.jsp'],
\ 'julia': ['file.jl'],