summaryrefslogtreecommitdiffstats
path: root/autoload/polyglot/init.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2021-06-09 21:11:58 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2021-06-09 21:11:58 +0200
commitc4e50b4e9da54836b0fcd443229c7213de789e21 (patch)
tree149f8bd0acaead947adfe8831f4180a5dfde1c8b /autoload/polyglot/init.vim
parent839447bbf542925b1085a33d076cc525138aad7c (diff)
downloadvim-polyglot-c4e50b4e9da54836b0fcd443229c7213de789e21.tar.gz
vim-polyglot-c4e50b4e9da54836b0fcd443229c7213de789e21.zip
Update
Diffstat (limited to 'autoload/polyglot/init.vim')
-rw-r--r--autoload/polyglot/init.vim10
1 files changed, 5 insertions, 5 deletions
diff --git a/autoload/polyglot/init.vim b/autoload/polyglot/init.vim
index d294ea4a..536b7dce 100644
--- a/autoload/polyglot/init.vim
+++ b/autoload/polyglot/init.vim
@@ -177,8 +177,12 @@ if !has_key(g:polyglot_is_disabled, 'nftables')
au BufNewFile,BufRead *.nft,*/nftables.conf setf nftables
endif
+if !has_key(g:polyglot_is_disabled, 'just')
+ au BufNewFile,BufRead *.just,justfile setf just
+endif
+
if !has_key(g:polyglot_is_disabled, 'sway')
- au BufNewFile,BufRead *sway/config setf 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, 'hjson')
@@ -2293,10 +2297,6 @@ 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, 'hive')
au BufNewFile,BufRead *.hql,*.q,*.ql setf hive
endif