Skip to content

Commit

Permalink
Fix detection of Unicode range at boundary
Browse files Browse the repository at this point in the history
Resolves: #21
  • Loading branch information
tpope committed Nov 12, 2022
1 parent b56732d commit 1ba0fcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/characterize.vim
Expand Up @@ -48,7 +48,7 @@ endfunction

function! characterize#description(nr, ...) abort
for [first, last, name] in s:ranges
if a:nr > first && a:nr < last
if a:nr >= first && a:nr <= last
return name
endif
endfor
Expand Down

0 comments on commit 1ba0fcf

Please sign in to comment.