Sort packs, closes #367

This commit is contained in:
Adam Stankiewicz
2019-03-04 09:32:57 +01:00
parent 288b0d2423
commit c39dff0b10
2 changed files with 77 additions and 77 deletions

View File

@@ -73,43 +73,6 @@ augroup END
if (!exists('g:graphql_javascript_tags'))
let g:graphql_javascript_tags = ['gql', 'graphql', 'Relay.QL']
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'apiblueprint') == -1
augroup filetypedetect
" apiblueprint, from apiblueprint.vim in sheerun/apiblueprint.vim
autocmd BufReadPost,BufNewFile *.apib set filetype=apiblueprint
autocmd FileType apiblueprint set syntax=apiblueprint
autocmd FileType apiblueprint set makeprg=drafter\ -l\ %
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'applescript') == -1
augroup filetypedetect
" applescript, from applescript.vim in mityu/vim-applescript:_SYNTAX
"Plugin Name: AppleScript
"Author: mityu
"Last Change: 04-Mar-2017.
let s:cpo_save=&cpo
set cpo&vim
au BufNewFile,BufRead *.scpt setf applescript
au BufNewFile,BufRead *.applescript setf applescript
let &cpo=s:cpo_save
unlet s:cpo_save
" vim: foldmethod=marker
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'asciidoc') == -1
augroup filetypedetect
" asciidoc, from asciidoc.vim in asciidoc/vim-asciidoc
autocmd BufNewFile,BufRead *.asciidoc,*.adoc
\ set ft=asciidoc
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ansible') == -1
augroup filetypedetect
" ansible, from ansible.vim in pearofducks/ansible-vim
@@ -156,6 +119,35 @@ augroup END
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'apiblueprint') == -1
augroup filetypedetect
" apiblueprint, from apiblueprint.vim in sheerun/apiblueprint.vim
autocmd BufReadPost,BufNewFile *.apib set filetype=apiblueprint
autocmd FileType apiblueprint set syntax=apiblueprint
autocmd FileType apiblueprint set makeprg=drafter\ -l\ %
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'applescript') == -1
augroup filetypedetect
" applescript, from applescript.vim in mityu/vim-applescript:_SYNTAX
"Plugin Name: AppleScript
"Author: mityu
"Last Change: 04-Mar-2017.
let s:cpo_save=&cpo
set cpo&vim
au BufNewFile,BufRead *.scpt setf applescript
au BufNewFile,BufRead *.applescript setf applescript
let &cpo=s:cpo_save
unlet s:cpo_save
" vim: foldmethod=marker
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'arduino') == -1
augroup filetypedetect
" arduino, from arduino.vim in sudar/vim-arduino-syntax
@@ -163,6 +155,14 @@ au BufRead,BufNewFile *.ino,*.pde set filetype=arduino
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'asciidoc') == -1
augroup filetypedetect
" asciidoc, from asciidoc.vim in asciidoc/vim-asciidoc
autocmd BufNewFile,BufRead *.asciidoc,*.adoc
\ set ft=asciidoc
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'blade') == -1
augroup filetypedetect
" blade, from blade.vim in jwalton512/vim-blade
@@ -201,6 +201,15 @@ autocmd BufNewFile,BufRead *.clj,*.cljs,*.edn,*.cljx,*.cljc,{build,profile}.boot
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cql') == -1
augroup filetypedetect
" cql, from cql.vim in elubow/cql-vim
if has("autocmd")
au BufNewFile,BufRead *.cql set filetype=cql
endif
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cryptol') == -1
augroup filetypedetect
" cryptol, from cryptol.vim in victoredwardocallaghan/cryptol.vim
@@ -225,15 +234,6 @@ autocmd BufNewFile,BufReadPost *.ecr setlocal filetype=eruby
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cql') == -1
augroup filetypedetect
" cql, from cql.vim in elubow/cql-vim
if has("autocmd")
au BufNewFile,BufRead *.cql set filetype=cql
endif
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cucumber') == -1
augroup filetypedetect
" cucumber, from cucumber.vim in tpope/vim-cucumber
@@ -342,13 +342,6 @@ autocmd BufNewFile,BufRead *.fs,*.fsi,*.fsx set filetype=fsharp
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'gmpl') == -1
augroup filetypedetect
" gmpl, from gmpl.vim in maelvalais/gmpl.vim
au BufRead,BufNewFile *.mod set filetype=gmpl
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'glsl') == -1
augroup filetypedetect
" glsl, from glsl.vim in tikhomirov/vim-glsl
@@ -363,6 +356,13 @@ autocmd! BufNewFile,BufRead *.vert,*.tesc,*.tese,*.glsl,*.geom,*.frag,*.comp set
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'gmpl') == -1
augroup filetypedetect
" gmpl, from gmpl.vim in maelvalais/gmpl.vim
au BufRead,BufNewFile *.mod set filetype=gmpl
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
augroup filetypedetect
" go, from gofiletype.vim in fatih/vim-go:_BASIC
@@ -504,6 +504,13 @@ autocmd BufRead,BufNewFile *.Jenkinsfile setf Jenkinsfile
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'json5') == -1
augroup filetypedetect
" json5, from json5.vim in GutenYe/json5.vim
au BufNewFile,BufRead *.json5 setfiletype json5
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'json') == -1
augroup filetypedetect
" json, from json.vim in elzr/vim-json
@@ -515,13 +522,6 @@ autocmd BufNewFile,BufRead *.template setlocal filetype=json
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'json5') == -1
augroup filetypedetect
" json5, from json5.vim in GutenYe/json5.vim
au BufNewFile,BufRead *.json5 setfiletype json5
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jst') == -1
augroup filetypedetect
" jst, from jst.vim in briancollins/vim-jst
@@ -1200,13 +1200,6 @@ autocmd BufRead,BufNewFile *vifm/colors/* :set filetype=vifm
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vue') == -1
augroup filetypedetect
" vue, from vue.vim in posva/vim-vue
au BufNewFile,BufRead *.vue,*.wpy setf vue
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vm') == -1
augroup filetypedetect
" vm, from velocity.vim in lepture/vim-velocity
@@ -1214,3 +1207,10 @@ au BufRead,BufNewFile *.vm set ft=velocity syntax=velocity
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vue') == -1
augroup filetypedetect
" vue, from vue.vim in posva/vim-vue
au BufNewFile,BufRead *.vue,*.wpy setf vue
augroup end
endif