From dd0ff0cad2564094c936ece478e88c384bd4710c Mon Sep 17 00:00:00 2001 From: Luc Hermitte Date: Wed, 27 Nov 2024 00:30:21 +0100 Subject: [PATCH] BUG: Fix log in `#just_ignore_this()` --- autoload/lh/style.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/lh/style.vim b/autoload/lh/style.vim index a016869..32df20a 100644 --- a/autoload/lh/style.vim +++ b/autoload/lh/style.vim @@ -7,7 +7,7 @@ " Version: 1.0.0 let s:k_version = 100 " Created: 12th Feb 2014 -" Last Update: 18th Jun 2024 +" Last Update: 27th Nov 2024 "------------------------------------------------------------------------ " Description: " Functions related to help implement coding styles (e.g. Allman or K&R @@ -303,7 +303,7 @@ function! lh#style#just_ignore_this(text, ...) abort " let cache_of_ignored_matches = get(a:, 1, s:cache_of_ignored_matches) let cache_of_ignored_matches = (a:0 > 0) ? (a:1) : (s:cache_of_ignored_matches) let res = "¤".(len(add(cache_of_ignored_matches, a:text))-1)."¤" - call s:Verbose("Ignoring %1 --> cache = %2", a:text, s:cache_of_ignored_matches) + call s:Verbose("Ignoring %1 --> cache = %2", a:text, cache_of_ignored_matches) return res endfunction