diff options
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', | 
