summaryrefslogtreecommitdiffstats
path: root/autoload
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
parent839447bbf542925b1085a33d076cc525138aad7c (diff)
downloadvim-polyglot-c4e50b4e9da54836b0fcd443229c7213de789e21.tar.gz
vim-polyglot-c4e50b4e9da54836b0fcd443229c7213de789e21.zip
Update
Diffstat (limited to 'autoload')
-rw-r--r--autoload/polyglot/init.vim10
-rw-r--r--autoload/polyglot/sleuth.vim4
2 files changed, 7 insertions, 7 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
diff --git a/autoload/polyglot/sleuth.vim b/autoload/polyglot/sleuth.vim
index bcd0e5e8..64893959 100644
--- a/autoload/polyglot/sleuth.vim
+++ b/autoload/polyglot/sleuth.vim
@@ -237,7 +237,7 @@ let s:globs = {
\ 'htmlm4': '*.html.m4',
\ 'httest': '*.htt,*.htb',
\ 'hxml': '*.hxml',
- \ 'i3config': '*.i3.config,*.i3config,i3.config,i3config,.i3.config,.i3config',
+ \ 'i3config': '*.i3config,*.i3.config,*.swayconfig,*.sway.config,i3.config,sway.config',
\ 'ibasic': '*.iba,*.ibi',
\ 'icalendar': '*.ics',
\ 'icemenu': '',
@@ -271,6 +271,7 @@ let s:globs = {
\ 'jsp': '*.jsp',
\ 'jst': '*.ejs,*.ect,*.jst',
\ 'julia': '*.jl',
+ \ 'just': '*.just,justfile',
\ 'kconfig': 'Kconfig,Kconfig.debug,Kconfig.*',
\ 'kivy': '*.kv',
\ 'kix': '*.kix',
@@ -528,7 +529,6 @@ let s:globs = {
\ 'svelte': '*.svelte',
\ 'svg': '*.svg',
\ 'svn': 'svn-commit*.tmp',
- \ 'sway': '',
\ 'swift': '*.swift',
\ 'swiftgyb': '*.swift.gyb',
\ 'sxhkdrc': '*.sxhkdrc,sxhkdrc',