aboutsummaryrefslogtreecommitdiff
path: root/base/.vim/ftdetect
diff options
context:
space:
mode:
authorAdam Hovorka <[email protected]>2017-09-04 11:54:46 -0600
committerAdam Hovorka <[email protected]>2017-09-04 11:54:46 -0600
commit8916659e0e1cb67b860373f2d094445bb1f657aa (patch)
tree97f3e8cc1d0dbfe43ca5e64f596a39c61c10b121 /base/.vim/ftdetect
parent4a95cb44441d4e5b80bf7b4ff442923fc5e33b92 (diff)
Add custom vim filetype plugins for php and json
Diffstat (limited to 'base/.vim/ftdetect')
-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