mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-15 06:53:50 -05:00
25 lines
686 B
VimL
25 lines
686 B
VimL
let files = filter(globpath(&rtp, 'ftplugin/art.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
|
|
if len(files) > 0
|
|
exec 'source ' . files[0]
|
|
finish
|
|
endif
|
|
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'art') == -1
|
|
|
|
" Vim filetype plugin
|
|
" Language: ART-IM and ART*Enterprise
|
|
" Maintainer: Dorai Sitaram <ds26@gte.com>
|
|
" URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html
|
|
" Last Change: Apr 2, 2003
|
|
|
|
" Only do this when not done yet for this buffer
|
|
if exists("b:did_ftplugin")
|
|
finish
|
|
endif
|
|
|
|
run ftplugin/lisp.vim
|
|
|
|
setl lw-=if
|
|
setl lw+=def-art-fun,deffacts,defglobal,defrule,defschema,for,schema,while
|
|
|
|
endif
|