From 48eb0fb1a890077cc85f1916fc2c8bb611a0f8d5 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Wed, 14 Apr 2021 12:14:37 +0200 Subject: Update --- autoload/polyglot/init.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'autoload/polyglot/init.vim') diff --git a/autoload/polyglot/init.vim b/autoload/polyglot/init.vim index 2ffe93ca..3b7e8072 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, 'sway') + au BufNewFile,BufRead *sway/config setf sway +endif + if !has_key(g:polyglot_is_disabled, 'hjson') au BufNewFile,BufRead *.hjson setf hjson endif -- cgit v1.2.3