diff options
author | Bram Moolenaar <Bram@vim.org> | 2011-12-30 13:11:27 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2011-12-30 13:11:27 +0100 |
commit | b6b046b281fac168a78b3eafdea9274bef06882f (patch) | |
tree | 8d50c58421278f30521e290a8cf18c6085b78168 /runtime/syntax/c.vim | |
parent | deaf7b739791095e2c98a7087dfe9b3c8dfd56f2 (diff) | |
download | vim-b6b046b281fac168a78b3eafdea9274bef06882f.zip |
Updated runtime files.
Diffstat (limited to 'runtime/syntax/c.vim')
-rw-r--r-- | runtime/syntax/c.vim | 7 |
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 |