summaryrefslogtreecommitdiffstats
path: root/autoload/polyglot/init.vim
diff options
context:
space:
mode:
authorMarcos Ferreira <mracos@users.noreply.github.com>2021-06-09 16:21:38 -0300
committerGitHub <noreply@github.com>2021-06-09 21:21:38 +0200
commitc6f9e5b2117380b67de5bb4502bf4053378ac3c9 (patch)
tree30820987aff14f643ca2ad3968b74f7b058e98f6 /autoload/polyglot/init.vim
parent3e71cdad56bdd2b1af812f63f6eca856ac6c1984 (diff)
downloadvim-polyglot-c6f9e5b2117380b67de5bb4502bf4053378ac3c9.tar.gz
vim-polyglot-c6f9e5b2117380b67de5bb4502bf4053378ac3c9.zip
Add mermaid (#721)
Co-authored-by: Adam Stankiewicz <sheerun@sher.pl>
Diffstat (limited to 'autoload/polyglot/init.vim')
-rw-r--r--autoload/polyglot/init.vim12
1 files changed, 12 insertions, 0 deletions
diff --git a/autoload/polyglot/init.vim b/autoload/polyglot/init.vim
index 536b7dce..07d18697 100644
--- a/autoload/polyglot/init.vim
+++ b/autoload/polyglot/init.vim
@@ -169,6 +169,10 @@ let did_load_filetypes = 1
" DO NOT EDIT CODE BELOW, IT IS GENERATED WITH MAKEFILE
+if !has_key(g:polyglot_is_disabled, 'mermaid')
+ au BufNewFile,BufRead *.mermaid,*.mm,*.mmd setf mermaid
+endif
+
if !has_key(g:polyglot_is_disabled, 'openscad')
au BufNewFile,BufRead *.scad setf openscad
endif
@@ -2297,6 +2301,14 @@ if !has_key(g:polyglot_is_disabled, 'icalendar')
au BufNewFile,BufRead *.ics setf icalendar
endif
+if !has_key(g:polyglot_is_disabled, 'i3')
+ au BufNewFile,BufRead *.i3.config,*.i3config,{.,}i3.config,{.,}i3config,i3.config,i3config setf i3config
+endif
+
+if !has_key(g:polyglot_is_disabled, 'sway')
+ au BufNewFile,BufRead *.i3.config,*.i3config,*.sway.config,*.swayconfig,*sway/config,i3.config,sway.config setf i3config
+endif
+
if !has_key(g:polyglot_is_disabled, 'hive')
au BufNewFile,BufRead *.hql,*.q,*.ql setf hive
endif