From 3780c11267415ff57f261fcd3e1dea0c2c9d8dd0 Mon Sep 17 00:00:00 2001 From: Enno Date: Wed, 6 Nov 2024 20:14:49 +0100 Subject: [PATCH] runtime(compiler): fix typo in cppcheck compiler plugin closes: #16002 Signed-off-by: Enno Signed-off-by: Christian Brabandt --- runtime/compiler/cppcheck.vim | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/runtime/compiler/cppcheck.vim b/runtime/compiler/cppcheck.vim index 20c906f41..d6fc0d687 100644 --- a/runtime/compiler/cppcheck.vim +++ b/runtime/compiler/cppcheck.vim @@ -1,15 +1,13 @@ " vim compiler file " Compiler: cppcheck (C++ static checker) " Maintainer: Vincent B. (twinside@free.fr) -" Last Change: 2024 oct 17 by @Konfekt +" Last Change: 2024 Oct 17 by @Konfekt -if exists("cppcheck") - finish -endif +if exists("current_compiler") | finish | endif let current_compiler = "cppcheck" let s:cpo_save = &cpo -set cpo-=C +set cpo&vim let s:slash = has('win32')? '\' : '/'