Skip to content

Commit

Permalink
BUG: Fix log in #just_ignore_this()
Browse files Browse the repository at this point in the history
  • Loading branch information
LucHermitte committed Nov 26, 2024
1 parent b157e90 commit dd0ff0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoload/lh/style.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit dd0ff0c

Please sign in to comment.