summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorDominique Pellé <dominique.pelle@gmail.com>2023-08-09 17:36:40 +0200
committerGitHub <noreply@github.com>2023-08-09 17:36:40 +0200
commit077ade4f67036e652b99f8f858c9ca1c1dd22245 (patch)
treee2867312a3e523f21975d4c4f9e373cd60e62da3 /runtime
parentb69b9d5e175351c9a25507139954f6211f37fdd9 (diff)
feat: recognize geojson extension as json filetype (#12636)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 4808a56d8e..49e602fab1 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1060,6 +1060,9 @@ au BufNewFile,BufRead *.json5 setf json5
" JSON Patch (RFC 6902)
au BufNewFile,BufRead *.json-patch setf json
+" Geojson is also json
+au BufNewFile,BufRead *.geojson setf json
+
" Jupyter Notebook is also json
au BufNewFile,BufRead *.ipynb setf json