summaryrefslogtreecommitdiff
path: root/runtime/syntax/taskedit.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-04-30 15:56:52 +0200
committerBram Moolenaar <Bram@vim.org>2012-04-30 15:56:52 +0200
commit9a7224b5a0639c26c843c10afcafa5bf149271fd (patch)
tree9cafda4f3dd87f3ba177401248d65aa241f63ced /runtime/syntax/taskedit.vim
parente8938e507e5dbeea25accd3586cd9aca13e5bf64 (diff)
downloadvim-9a7224b5a0639c26c843c10afcafa5bf149271fd.zip
Fixed compatible mode in most runtime files.
Diffstat (limited to 'runtime/syntax/taskedit.vim')
-rw-r--r--runtime/syntax/taskedit.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/syntax/taskedit.vim b/runtime/syntax/taskedit.vim
index c7e0ea75a..170153c0e 100644
--- a/runtime/syntax/taskedit.vim
+++ b/runtime/syntax/taskedit.vim
@@ -11,6 +11,8 @@ if version < 600
elseif exists("b:current_syntax")
finish
endif
+let s:keepcpo= &cpo
+set cpo&vim
syn match taskeditHeading "^\s*#\s*Name\s\+Editable details\s*$" contained
syn match taskeditHeading "^\s*#\s*-\+\s\+-\+\s*$" contained
@@ -32,4 +34,7 @@ hi def link taskeditString String
let b:current_syntax = "taskedit"
+let &cpo = s:keepcpo
+unlet s:keepcpo
+
" vim:noexpandtab