diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2021-04-14 12:14:37 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2021-04-14 12:14:37 +0200 |
commit | 48eb0fb1a890077cc85f1916fc2c8bb611a0f8d5 (patch) | |
tree | 7cb3ee0dbfc4ce66bed603e7cf352ddda6b1d17a /autoload | |
parent | 0f9acbe2fcc6c87336494406e3d3c81c40e9de52 (diff) | |
download | vim-polyglot-48eb0fb1a890077cc85f1916fc2c8bb611a0f8d5.tar.gz vim-polyglot-48eb0fb1a890077cc85f1916fc2c8bb611a0f8d5.zip |
Update
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/polyglot/init.vim | 4 | ||||
-rw-r--r-- | autoload/polyglot/sleuth.vim | 1 |
2 files changed, 5 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 diff --git a/autoload/polyglot/sleuth.vim b/autoload/polyglot/sleuth.vim index a84ae67a..50b3321b 100644 --- a/autoload/polyglot/sleuth.vim +++ b/autoload/polyglot/sleuth.vim @@ -525,6 +525,7 @@ let s:globs = { \ 'svelte': '*.svelte', \ 'svg': '*.svg', \ 'svn': 'svn-commit*.tmp', + \ 'sway': '', \ 'swift': '*.swift', \ 'swiftgyb': '*.swift.gyb', \ 'sxhkdrc': '*.sxhkdrc,sxhkdrc', |