diff options
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/polyglot/init.vim | 4 | ||||
-rw-r--r-- | autoload/polyglot/sleuth.vim | 1 |
2 files changed, 5 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 diff --git a/autoload/polyglot/sleuth.vim b/autoload/polyglot/sleuth.vim index 8a5f57ba..725e1887 100644 --- a/autoload/polyglot/sleuth.vim +++ b/autoload/polyglot/sleuth.vim @@ -224,6 +224,7 @@ let s:globs = { \ 'hex': '*.hex,*.h32', \ 'hgcommit': 'hg-editor-*.txt', \ 'hive': '*.q,*.hql,*.ql', + \ 'hjson': '*.hjson', \ 'hog': '*.hog,snort.conf,vision.conf', \ 'hollywood': '*.hws', \ 'hostconf': '', |