summaryrefslogtreecommitdiff
path: root/runtime/syntax/c.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-12-30 13:11:27 +0100
committerBram Moolenaar <Bram@vim.org>2011-12-30 13:11:27 +0100
commitb6b046b281fac168a78b3eafdea9274bef06882f (patch)
tree8d50c58421278f30521e290a8cf18c6085b78168 /runtime/syntax/c.vim
parentdeaf7b739791095e2c98a7087dfe9b3c8dfd56f2 (diff)
downloadvim-b6b046b281fac168a78b3eafdea9274bef06882f.zip
Updated runtime files.
Diffstat (limited to 'runtime/syntax/c.vim')
-rw-r--r--runtime/syntax/c.vim7
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/syntax/c.vim b/runtime/syntax/c.vim
index 8ce0ff115..aef59a607 100644
--- a/runtime/syntax/c.vim
+++ b/runtime/syntax/c.vim
@@ -1,13 +1,16 @@
" Vim syntax file
" Language: C
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2011 Sep 07
+" Last Change: 2011 Dec 30
" Quit when a (custom) syntax file was already loaded
if exists("b:current_syntax")
finish
endif
+let s:cpo_save = &cpo
+set cpo&vim
+
" A bunch of useful C keywords
syn keyword cStatement goto break return continue asm
syn keyword cLabel case default
@@ -390,4 +393,6 @@ hi def link cCppOut Comment
let b:current_syntax = "c"
+let &cpo = s:cpo_save
+unlet s:cpo_save
" vim: ts=8