Updated runtime files.
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user