diff options
| author | Adam Stankiewicz <sheerun@sher.pl> | 2016-05-02 10:50:59 +0200 | 
|---|---|---|
| committer | Adam Stankiewicz <sheerun@sher.pl> | 2016-05-02 10:50:59 +0200 | 
| commit | 7a29850ae926e8fabf18058061187582e04dedde (patch) | |
| tree | 32fb4ae58b475428e8c2942ec52e1e8605128dd2 /ftplugin | |
| parent | c200e7a0c587f70611b8dd702d0c3b378676a39a (diff) | |
| download | vim-polyglot-7a29850ae926e8fabf18058061187582e04dedde.tar.gz vim-polyglot-7a29850ae926e8fabf18058061187582e04dedde.zip | |
Add plantuml syntax, closes #116
Diffstat (limited to 'ftplugin')
| -rw-r--r-- | ftplugin/plantuml.vim | 22 | 
1 files changed, 22 insertions, 0 deletions
| diff --git a/ftplugin/plantuml.vim b/ftplugin/plantuml.vim new file mode 100644 index 00000000..c4deb886 --- /dev/null +++ b/ftplugin/plantuml.vim @@ -0,0 +1,22 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'plantuml') == -1 +   +" Vim plugin file +" Language:     PlantUML +" Maintainer:   Aaron C. Meadows < language name at shadowguarddev dot com> +" Last Change:  19-Jun-2012 +" Version:      0.1 + +if exists("g:loaded_plantuml_plugin") +    finish +endif +let g:loaded_plantuml_plugin = 1 + +if !exists("g:plantuml_executable_script") +	let g:plantuml_executable_script="plantuml" +endif + +autocmd Filetype plantuml let &l:makeprg=g:plantuml_executable_script . " " .  fnameescape(expand("%")) + +setlocal comments=s1:/',mb:',ex:'/,:' commentstring=/'%s'/ formatoptions-=t formatoptions+=croql + +endif | 
