diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2021-01-01 17:09:30 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2021-01-01 17:09:30 +0100 |
commit | a81756029291d6e21295687515a3e58499c19b33 (patch) | |
tree | 81142fd6640ad9de3b38b7cb0e4bd798a6db86e0 /ftdetect/polyglot.vim | |
parent | 1f4236df3aaaec797e81572fd120a9d49d4035b9 (diff) | |
download | vim-polyglot-a81756029291d6e21295687515a3e58499c19b33.tar.gz vim-polyglot-a81756029291d6e21295687515a3e58499c19b33.zip |
Add support for gleam, closes #655
Co-authored-by: Jeff Kreeftmeijer <jeffkreeftmeijer@gmail.com>
Diffstat (limited to 'ftdetect/polyglot.vim')
-rw-r--r-- | ftdetect/polyglot.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 198e334c..94e9b28b 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -145,6 +145,10 @@ let did_load_filetypes = 1 " DO NOT EDIT CODE BELOW, IT IS GENERATED WITH MAKEFILE +if !has_key(g:polyglot_is_disabled, 'gleam') + au BufNewFile,BufRead *.gleam setf gleam +endif + if !has_key(g:polyglot_is_disabled, 'jsonc') au BufNewFile,BufRead *.cjson,*.jsonc,{.,}babelrc,{.,}eslintrc.json,{.,}jshintrc,{.,}jslintrc,{.,}mocharc.json,coc-settings.json,coffeelint.json,jsconfig.json,tsconfig.json setf jsonc endif |