diff options
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/polyglot/init.vim | 34 | ||||
-rw-r--r-- | autoload/polyglot/sleuth.vim | 10 |
2 files changed, 2 insertions, 42 deletions
diff --git a/autoload/polyglot/init.vim b/autoload/polyglot/init.vim index d739ae7b..0f324453 100644 --- a/autoload/polyglot/init.vim +++ b/autoload/polyglot/init.vim @@ -190,7 +190,7 @@ if !has_key(g:polyglot_is_disabled, 'just') 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 + au BufNewFile,BufRead *.sway.config,*.swayconfig,*sway/config,swayconfig setf swayconfig endif if !has_key(g:polyglot_is_disabled, 'hjson') @@ -228,10 +228,6 @@ if !has_key(g:polyglot_is_disabled, 'xf86conf') au BufNewFile,BufRead XF86Config* call s:StarSetf('xf86conf') endif -if !has_key(g:polyglot_is_disabled, 'pullrequest') - au BufNewFile,BufRead PULLREQ_EDITMSG setf pullrequest -endif - if !has_key(g:polyglot_is_disabled, 'text') au BufNewFile,BufRead *.text,README setf text endif @@ -276,10 +272,6 @@ if !has_key(g:polyglot_is_disabled, 'z8a') au BufNewFile,BufRead *.z8a setf z8a endif -if !has_key(g:polyglot_is_disabled, 'zimbutempl') - au BufNewFile,BufRead *.zut setf zimbutempl -endif - if !has_key(g:polyglot_is_disabled, 'zimbu') au BufNewFile,BufRead *.zu setf zimbu endif @@ -801,10 +793,6 @@ if !has_key(g:polyglot_is_disabled, 'privoxy') au BufNewFile,BufRead *.action setf privoxy endif -if !has_key(g:polyglot_is_disabled, 'proc') - au BufNewFile,BufRead *.pc setf proc -endif - if !has_key(g:polyglot_is_disabled, 'obj') au BufNewFile,BufRead *.obj setf obj endif @@ -877,10 +865,6 @@ if !has_key(g:polyglot_is_disabled, 'pike') au BufNewFile,BufRead *.pike,*.pmod setf pike endif -if !has_key(g:polyglot_is_disabled, 'pcmk') - au BufNewFile,BufRead *.pcmk setf pcmk -endif - if !has_key(g:polyglot_is_disabled, 'pdf') au BufNewFile,BufRead *.pdf setf pdf endif @@ -1062,10 +1046,6 @@ if !has_key(g:polyglot_is_disabled, 'mel') au BufNewFile,BufRead *.mel setf mel endif -if !has_key(g:polyglot_is_disabled, 'map') - au BufNewFile,BufRead *.map setf map -endif - if !has_key(g:polyglot_is_disabled, 'maple') au BufNewFile,BufRead *.mpl,*.mv,*.mws setf maple endif @@ -1316,10 +1296,6 @@ if !has_key(g:polyglot_is_disabled, 'icon') au BufNewFile,BufRead *.icn setf icon endif -if !has_key(g:polyglot_is_disabled, 'httest') - au BufNewFile,BufRead *.htb,*.htt setf httest -endif - if !has_key(g:polyglot_is_disabled, 'hb') au BufNewFile,BufRead *.hb setf hb endif @@ -1452,10 +1428,6 @@ if !has_key(g:polyglot_is_disabled, 'fetchmail') au BufNewFile,BufRead {.,}fetchmailrc setf fetchmail endif -if !has_key(g:polyglot_is_disabled, 'factor') - au BufNewFile,BufRead *.factor setf factor -endif - if !has_key(g:polyglot_is_disabled, 'fan') au BufNewFile,BufRead *.fan,*.fwt setf fan endif @@ -1704,10 +1676,6 @@ if !has_key(g:polyglot_is_disabled, 'chaiscript') au BufNewFile,BufRead *.chai setf chaiscript endif -if !has_key(g:polyglot_is_disabled, 'cfengine') - au BufNewFile,BufRead cfengine.conf setf cfengine -endif - if !has_key(g:polyglot_is_disabled, 'cdrdaoconf') au BufNewFile,BufRead */etc/cdrdao.conf,*/etc/default/cdrdao,*/etc/defaults/cdrdao,{.,}cdrdao setf cdrdaoconf endif diff --git a/autoload/polyglot/sleuth.vim b/autoload/polyglot/sleuth.vim index a7a5b86a..e3c0752e 100644 --- a/autoload/polyglot/sleuth.vim +++ b/autoload/polyglot/sleuth.vim @@ -66,7 +66,6 @@ let s:globs = { \ 'cdrdaoconf': '.cdrdao', \ 'cdrtoc': '*.toc', \ 'cf': '*.cfm,*.cfi,*.cfc', - \ 'cfengine': 'cfengine.conf', \ 'cfg': '*.cfg,*.hgrc,*hgrc', \ 'ch': '*.chf', \ 'chaiscript': '*.chai', @@ -162,7 +161,6 @@ let s:globs = { \ 'exim': 'exim.conf', \ 'expect': '*.exp', \ 'exports': 'exports', - \ 'factor': '*.factor', \ 'falcon': '*.fal', \ 'fan': '*.fan,*.fwt', \ 'fbs': '*.fbs', @@ -235,9 +233,7 @@ let s:globs = { \ 'html.twig': '*.twig', \ 'htmldjango': '*.jinja,*.j2,*.jinja2', \ 'htmlm4': '*.html.m4', - \ 'httest': '*.htt,*.htb', \ 'hxml': '*.hxml', - \ 'i3config': '*.i3config,*.i3.config,*.swayconfig,*.sway.config,i3.config,sway.config', \ 'ibasic': '*.iba,*.ibi', \ 'icalendar': '*.ics', \ 'icemenu': '', @@ -321,7 +317,6 @@ let s:globs = { \ 'mako': '*.mako,*.mao', \ 'mallard': '*.page', \ 'manconf': 'man.config', - \ 'map': '*.map', \ 'maple': '*.mv,*.mpl,*.mws', \ 'markdown': '*.md,*.markdown,*.mdown,*.mdwn,*.mkd,*.mkdn,*.mkdown,*.ronn,*.scd,*.workbook,contents.lr', \ 'markdown.mdx': '*.mdx', @@ -395,7 +390,6 @@ let s:globs = { \ 'pascal': '*.pas,*.pp,*.dpr,*.lpr', \ 'passwd': '', \ 'pccts': '*.g', - \ 'pcmk': '*.pcmk', \ 'pdf': '*.pdf', \ 'perl': '*.pl,*.al,*.cgi,*.fcgi,*.perl,*.ph,*.plx,*.pm,*.psgi,*.t,Makefile.PL,Rexfile,ack,cpanfile,example.gitolite.rc,.gitolite.rc', \ 'pest': '*.pest', @@ -420,7 +414,6 @@ let s:globs = { \ 'ppd': '*.ppd', \ 'ppwiz': '*.it,*.ih', \ 'privoxy': '*.action', - \ 'proc': '*.pc', \ 'procmail': '.procmail,.procmailrc', \ 'prolog': '*.pl,*.pro,*.prolog,*.yap,*.pdb', \ 'promela': '*.pml', @@ -430,7 +423,6 @@ let s:globs = { \ 'ps1xml': '*.ps1xml', \ 'psf': '*.psf', \ 'pug': '*.jade,*.pug', - \ 'pullrequest': 'PULLREQ_EDITMSG', \ 'puppet': '*.pp,Modulefile', \ 'purescript': '*.purs', \ 'pyrex': '*.pyx,*.pxd', @@ -531,6 +523,7 @@ let s:globs = { \ 'svelte': '*.svelte', \ 'svg': '*.svg', \ 'svn': 'svn-commit*.tmp', + \ 'swayconfig': '*.swayconfig,*.sway.config,swayconfig', \ 'swift': '*.swift', \ 'swiftgyb': '*.swift.gyb', \ 'sxhkdrc': '*.sxhkdrc,sxhkdrc', @@ -636,7 +629,6 @@ let s:globs = { \ 'zephir': '*.zep', \ 'zig': '*.zig,*.zir', \ 'zimbu': '*.zu', - \ 'zimbutempl': '*.zut', \ 'zir': '*.zir', \ 'zsh': '*.zsh,.zshrc,.zshenv,.zlogin,.zprofile,.zlogout,.zlog*,.zcompdump*,.zfbfmarks,.zsh*', \} |