aboutsummaryrefslogtreecommitdiff
path: root/base/vim/ftdetect/json.vim
diff options
context:
space:
mode:
Diffstat (limited to 'base/vim/ftdetect/json.vim')
-rw-r--r--base/vim/ftdetect/json.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/vim/ftdetect/json.vim b/base/vim/ftdetect/json.vim
new file mode 100644
index 0000000..b4a5cd7
--- /dev/null
+++ b/base/vim/ftdetect/json.vim
@@ -0,0 +1,3 @@
+autocmd BufNewFile,BufRead *.json setlocal filetype=json
+autocmd BufNewFile,BufRead *.jsonp setlocal filetype=json
+autocmd BufNewFile,BufRead *.geojson setlocal filetype=json