summaryrefslogtreecommitdiffstats
path: root/ftplugin/plantuml.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/plantuml.vim')
-rw-r--r--ftplugin/plantuml.vim6
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