From 6148175aea790e2e009e4605917967dfd5e58158 Mon Sep 17 00:00:00 2001 From: David Reiss Date: Mon, 6 Aug 2007 20:56:30 +0000 Subject: [PATCH] Thrift: Fix thrift.vim. Summary: thrift.vim has not been deleting its HiLink command. This causes you to get a (recoverable) error every time you open a C++ or PHP file after opening a thrift file. This change deletes the HiLink command, preventing this error. Reviewed By: martin Test Plan: Opened a thrift file, then opened a C++ file in the same session. Both were highlighted properly. Revert Plan: ok git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665194 13f79535-47bb-0310-9956-ffa450edef68 --- thrift.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/thrift.vim b/thrift.vim index 11da4242..d81be134 100644 --- a/thrift.vim +++ b/thrift.vim @@ -66,6 +66,8 @@ if version >= 508 || !exists("did_thrift_syn_inits") HiLink thriftNumber Number HiLink thriftSpecial Special HiLink thriftStructure Structure + + delcommand HiLink endif let b:currenct_syntax = "thrift" -- 2.17.1