summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2021-06-09 21:22:48 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2021-06-09 21:22:48 +0200
commit4f997c5c82d49ce3e2791eb0679e992751bf39a7 (patch)
tree05a060e7a0d83e6775e26701141d38c9b56eb5ee
parentc6f9e5b2117380b67de5bb4502bf4053378ac3c9 (diff)
downloadvim-polyglot-4f997c5c82d49ce3e2791eb0679e992751bf39a7.tar.gz
vim-polyglot-4f997c5c82d49ce3e2791eb0679e992751bf39a7.zip
Update
-rw-r--r--README.md2
-rw-r--r--autoload/polyglot/init.vim8
-rw-r--r--autoload/polyglot/sleuth.vim2
-rw-r--r--tests/filetypes.vim5
4 files changed, 3 insertions, 14 deletions
diff --git a/README.md b/README.md
index 0330742e..a483201c 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@ A collection of language packs for Vim.
> One to rule them all, one to find them, one to bring them all and in the darkness bind them.
- It **won't affect your startup time**, as scripts are loaded only on demand\*.
-- It **installs and updates 120+ times faster** than the <!--Package Count-->607<!--/Package Count--> packages it consists of.
+- It **installs and updates 120+ times faster** than the <!--Package Count-->606<!--/Package Count--> packages it consists of.
- It is also more secure (scripts loaded for every filetype are generated by vim-polyglot)
- Best syntax and indentation support (no other features). Hand-selected language packs.
- Automatically detects indentation (includes performance-optimized version of [vim-sleuth](https://github.com/tpope/vim-sleuth), can be disabled)
diff --git a/autoload/polyglot/init.vim b/autoload/polyglot/init.vim
index 07d18697..781c9e57 100644
--- a/autoload/polyglot/init.vim
+++ b/autoload/polyglot/init.vim
@@ -2301,14 +2301,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, '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, 'hive')
au BufNewFile,BufRead *.hql,*.q,*.ql setf hive
endif
diff --git a/autoload/polyglot/sleuth.vim b/autoload/polyglot/sleuth.vim
index ce1d135c..095be910 100644
--- a/autoload/polyglot/sleuth.vim
+++ b/autoload/polyglot/sleuth.vim
@@ -236,8 +236,8 @@ let s:globs = {
\ 'htmldjango': '*.jinja,*.j2,*.jinja2',
\ 'htmlm4': '*.html.m4',
\ 'httest': '*.htt,*.htb',
- \ 'i3config': '*.i3config,*.i3.config,*.swayconfig,*.sway.config,i3.config,sway.config,i3config,.i3.config,.i3config',
\ 'hxml': '*.hxml',
+ \ 'i3config': '*.i3config,*.i3.config,*.swayconfig,*.sway.config,i3.config,sway.config',
\ 'ibasic': '*.iba,*.ibi',
\ 'icalendar': '*.ics',
\ 'icemenu': '',
diff --git a/tests/filetypes.vim b/tests/filetypes.vim
index e4a4ef83..091151fb 100644
--- a/tests/filetypes.vim
+++ b/tests/filetypes.vim
@@ -121,7 +121,6 @@ call TestFiletype('hxml')
call TestFiletype('hss')
call TestFiletype('hcl')
call TestFiletype('hive')
-call TestFiletype('i3config')
call TestFiletype('icalendar')
call TestFiletype('idris')
call TestFiletype('idris2')
@@ -649,13 +648,11 @@ call TestFiletype('mint')
call TestFiletype('jsonc')
call TestFiletype('gleam')
call TestFiletype('hjson')
-call TestFiletype('just')
-call TestFiletype('nftables')
-call TestFiletype('mermaid')
call TestFiletype('i3config')
call TestFiletype('just')
call TestFiletype('nftables')
call TestFiletype('openscad')
+call TestFiletype('mermaid')
" DO NOT EDIT CODE ABOVE, IT IS GENERATED WITH MAKEFILE