summaryrefslogtreecommitdiffstats
path: root/autoload/polyglot/init.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/polyglot/init.vim')
-rw-r--r--autoload/polyglot/init.vim4
1 files changed, 4 insertions, 0 deletions
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