From 32566dc1c3e85e9743f25b6e6a622f63646b5b4f Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 9 Nov 2024 08:23:55 +0800 Subject: vim-patch:3780c11: runtime(compiler): fix typo in cppcheck compiler plugin closes: vim/vim#16002 https://github.com/vim/vim/commit/3780c11267415ff57f261fcd3e1dea0c2c9d8dd0 Co-authored-by: Enno --- 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 20c906f412..d6fc0d6873 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')? '\' : '/' -- cgit