diff src/testdir/test_filetype.vim @ 32707:0d9aa2e5e9d0

feat: recognize geojson extension as json filetype (#12636) Commit: https://github.com/vim/vim/commit/077ade4f67036e652b99f8f858c9ca1c1dd22245 Author: Dominique Pell? <dominique.pelle@gmail.com> Date: Wed Aug 9 17:36:40 2023 +0200 feat: recognize geojson extension as json filetype (https://github.com/vim/vim/issues/12636)
author Christian Brabandt <cb@256bit.org>
date Wed, 09 Aug 2023 17:45:03 +0200
parents fa80326c0188
children 94f4a488412e
line wrap: on
line diff
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -340,7 +340,7 @@ def s:GetFilenameChecks(): dict<list<str
     jq: ['file.jq'],
     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', '.prettierrc', '.firebaserc', '.stylelintrc', 'file.slnf'],
+    json: ['file.json', 'file.jsonp', 'file.json-patch', 'file.geojson', 'file.webmanifest', 'Pipfile.lock', 'file.ipynb', '.prettierrc', '.firebaserc', '.stylelintrc', 'file.slnf'],
     json5: ['file.json5'],
     jsonc: ['file.jsonc', '.babelrc', '.eslintrc', '.jsfmtrc', '.jshintrc', '.hintrc', '.swrc', 'jsconfig.json', 'tsconfig.json', 'tsconfig.test.json', 'tsconfig-test.json'],
     jsonl: ['file.jsonl'],