diff options
Diffstat (limited to 'runtime/syntax/cweb.vim')
-rw-r--r-- | runtime/syntax/cweb.vim | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/syntax/cweb.vim b/runtime/syntax/cweb.vim index 4062b0a4e..39b593d2b 100644 --- a/runtime/syntax/cweb.vim +++ b/runtime/syntax/cweb.vim @@ -1,7 +1,7 @@ " Vim syntax file " Language: CWEB " Maintainer: Andreas Scherer <andreas.scherer@pobox.com> -" Last Change: April 30, 2001 +" Last Change: 2011 Dec 25 by Thilo Six " Details of the CWEB language can be found in the article by Donald E. Knuth " and Silvio Levy, "The CWEB System of Structured Documentation", included as @@ -36,6 +36,9 @@ endif " C/C++ section of a CWEB chunk or in inner C/C++ context in "|...|" groups. syntax include @webIncludedC <sfile>:p:h/cpp.vim +let s:cpo_save = &cpo +set cpo&vim + " Inner C/C++ context (ICC) should be quite simple as it's comprised of " material in "|...|"; however the naive definition for this region would " hickup at the innocious "\|" TeX macro. Note: For the time being we expect @@ -77,4 +80,6 @@ endif let b:current_syntax = "cweb" +let &cpo = s:cpo_save +unlet s:cpo_save " vim: ts=8 |