diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2017-02-02 21:16:29 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2017-02-02 21:16:29 +0100 |
commit | e685e4b431ab017d1aec9f9668fbeeeb6e7113e6 (patch) | |
tree | 47137f448d461ebb6852d81c6f553d0843e33764 /ftplugin/plantuml.vim | |
parent | e404a658b1647fad396a954776eda0bdabf8353c (diff) | |
download | vim-polyglot-e685e4b431ab017d1aec9f9668fbeeeb6e7113e6.tar.gz vim-polyglot-e685e4b431ab017d1aec9f9668fbeeeb6e7113e6.zip |
Update
Diffstat (limited to 'ftplugin/plantuml.vim')
-rw-r--r-- | ftplugin/plantuml.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ftplugin/plantuml.vim b/ftplugin/plantuml.vim index 1d15b06f..fe5496fc 100644 --- a/ftplugin/plantuml.vim +++ b/ftplugin/plantuml.vim @@ -3,13 +3,14 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'plantuml') == - " 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("b:loaded_plantuml_plugin") finish endif let b:loaded_plantuml_plugin = 1 +let s:cpo_save = &cpo +set cpo&vim if !exists("g:plantuml_executable_script") let g:plantuml_executable_script="plantuml" @@ -35,4 +36,7 @@ let b:endwise_words = 'loop,group,alt,note,legend' let b:endwise_pattern = '^\s*\zs\<\(loop\|group\|alt\|note\ze[^:]*$\|legend\)\>.*$' let b:endwise_syngroups = 'plantumlKeyword' +let &cpo = s:cpo_save +unlet s:cpo_save + endif |