forked from aniani/vim
feat: recognize geojson extension as json filetype (#12636)
This commit is contained in:
parent
b69b9d5e17
commit
077ade4f67
@ -1060,6 +1060,9 @@ au BufNewFile,BufRead *.json5 setf json5
|
|||||||
" JSON Patch (RFC 6902)
|
" JSON Patch (RFC 6902)
|
||||||
au BufNewFile,BufRead *.json-patch setf json
|
au BufNewFile,BufRead *.json-patch setf json
|
||||||
|
|
||||||
|
" Geojson is also json
|
||||||
|
au BufNewFile,BufRead *.geojson setf json
|
||||||
|
|
||||||
" Jupyter Notebook is also json
|
" Jupyter Notebook is also json
|
||||||
au BufNewFile,BufRead *.ipynb setf json
|
au BufNewFile,BufRead *.ipynb setf json
|
||||||
|
|
||||||
|
@ -340,7 +340,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
|||||||
jq: ['file.jq'],
|
jq: ['file.jq'],
|
||||||
jovial: ['file.jov', 'file.j73', 'file.jovial'],
|
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'],
|
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'],
|
json5: ['file.json5'],
|
||||||
jsonc: ['file.jsonc', '.babelrc', '.eslintrc', '.jsfmtrc', '.jshintrc', '.hintrc', '.swrc', 'jsconfig.json', 'tsconfig.json', 'tsconfig.test.json', 'tsconfig-test.json'],
|
jsonc: ['file.jsonc', '.babelrc', '.eslintrc', '.jsfmtrc', '.jshintrc', '.hintrc', '.swrc', 'jsconfig.json', 'tsconfig.json', 'tsconfig.test.json', 'tsconfig-test.json'],
|
||||||
jsonl: ['file.jsonl'],
|
jsonl: ['file.jsonl'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user