Open NobleMathews opened 1 month ago
src/nvim/message.c:335-3705 | This snippet involves handling of multispace_pos
and leadmultispace
, which are crucial for addressing the issue with incorrect character assignment and potential crashes.
src/nvim/optionstr.c:2700-2888 | This snippet deals with memory management for leadmultispace
, which is essential to ensure proper allocation and freeing, preventing memory allocation issues.
Doesn't seem like we have fully grasped all the specifics of this ticket.
Last updated at 27-Sep-2024 06:30 AM | Attempt 2
hashtaghashtaghashtag Problem
I have this setting in my init file:
But when I have more than 1 space in front of a word, I get something like this with random kanji symbols:
![image](
The last time I know for sure that it worked was with
NVIM v0.10.0-dev-e59cf3b3a
I know it has been broken for at least a week now. I'm not sure when this error started.When doing this manually and not loading it from a config file, doing
:set emoji
or:set noemoji
sometimes crashes nvimhashtaghashtaghashtag Steps to reproduce
:set list
:set listchars=tab:<->,eol:$,lead:-,leadmultispace:\|-->,trail:·,extends:>,precedes:<
:set emoji
You will then either get a segfault or the leadmultispace characters are displayed with random symbols.
[![asciicast](
hashtaghashtaghashtag Expected behavior
hashtaghashtaghashtag Neovim version (nvim -v)
NVIM v0.10.0-dev-8c6b0a5f2
hashtaghashtaghashtag Vim (not Nvim) behaves the same?
no
hashtaghashtaghashtag Operating system/version
Ubuntu Mate 22.04
hashtaghashtaghashtag Terminal name/version
kitty 0.30.1
hashtaghashtaghashtag $TERM environment variable
xterm-kitty
hashtaghashtaghashtag Installation
built from repo