summaryrefslogtreecommitdiffstats
path: root/autoload/polyglot/init.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2021-01-03 14:14:59 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2021-01-03 14:14:59 +0100
commit7bde552a463999897320a1899a6ca4f8806041ea (patch)
tree6e19f7a82a01e2dcf11f6996a1d8e2489efc41af /autoload/polyglot/init.vim
parent09f31c433a136450b9faa33b08fc3281bdea5acc (diff)
downloadvim-polyglot-7bde552a463999897320a1899a6ca4f8806041ea.tar.gz
vim-polyglot-7bde552a463999897320a1899a6ca4f8806041ea.zip
Add hjson, closes #659
Co-authored-by: SebastienElet <sebastien@elet.fr>
Diffstat (limited to '')
-rw-r--r--autoload/polyglot/init.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/autoload/polyglot/init.vim b/autoload/polyglot/init.vim
index 8af31ec2..19134f9e 100644
--- a/autoload/polyglot/init.vim
+++ b/autoload/polyglot/init.vim
@@ -168,6 +168,10 @@ let did_load_filetypes = 1
" DO NOT EDIT CODE BELOW, IT IS GENERATED WITH MAKEFILE
+if !has_key(g:polyglot_is_disabled, 'hjson')
+ au BufNewFile,BufRead *.hjson setf hjson
+endif
+
if !has_key(g:polyglot_is_disabled, 'gleam')
au BufNewFile,BufRead *.gleam setf gleam
endif