mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
vim-patch:077ade4f6703 (#24629)
feat: recognize geojson extension as json filetype (vim/vim#12636)
077ade4f67
Co-authored-by: Dominique Pellé <dominique.pelle@gmail.com>
This commit is contained in:
@ -548,6 +548,7 @@ local extension = {
|
||||
slnf = 'json',
|
||||
json = 'json',
|
||||
jsonp = 'json',
|
||||
geojson = 'json',
|
||||
webmanifest = 'json',
|
||||
ipynb = 'json',
|
||||
['json-patch'] = 'json',
|
||||
|
@ -330,7 +330,7 @@ func s:GetFilenameChecks() abort
|
||||
\ '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'],
|
||||
|
Reference in New Issue
Block a user