diff options
author | Dan Reif <dan.reif@collectivehealth.com> | 2018-05-08 10:19:22 -0700 |
---|---|---|
committer | Dan Reif <dan.reif@collectivehealth.com> | 2018-05-08 10:19:22 -0700 |
commit | dc8b2f45deb7e0d139f1fe01881faa1b676d043f (patch) | |
tree | 639bfcf9540b6e4bd042844645623ea75186e04e /ftdetect | |
parent | aa5502c32efb22c3835e1393f18c484a34eabdb3 (diff) | |
download | vim-polyglot-dc8b2f45deb7e0d139f1fe01881faa1b676d043f.tar.gz vim-polyglot-dc8b2f45deb7e0d139f1fe01881faa1b676d043f.zip |
applescript: vim-scripts -> mityu
Diffstat (limited to 'ftdetect')
-rw-r--r-- | ftdetect/polyglot.vim | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 8ca8c576..0619d65f 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -78,6 +78,26 @@ 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 |