summaryrefslogtreecommitdiffstats
path: root/ftdetect/polyglot.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2021-01-01 17:09:30 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2021-01-01 17:09:30 +0100
commita81756029291d6e21295687515a3e58499c19b33 (patch)
tree81142fd6640ad9de3b38b7cb0e4bd798a6db86e0 /ftdetect/polyglot.vim
parent1f4236df3aaaec797e81572fd120a9d49d4035b9 (diff)
downloadvim-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.vim4
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