Closed kamecha closed 9 months ago
I think the white space between each column should be none.
I think the white space between each column should be none.
No. It is feature.
OK. Reproduced. You must use strlen()
instead of strdisplaywidth()
.
Because Vim/neovim highlight is length instead of width!
sorry
I didn't understand the specifications of the highlight.
From now on I will use strlen()
.
using strlen()
the column viewed like bellow.
the highlight is correctly set. Thankyou! 👍
I have updated the documentation.
width
may be confused. Sorry.
And I have added the padding for it.
Warning: I will close the issue without the minimal init.vim and the reproduction instructions.
Problems summary
highlights set by the each column plugin does not work well.
Expected
each highlights is set correctly.
Environment Information
deno -V
output): deno 1.38.0:version
output: NVIM v0.10.0-dev-1846+gf31f260f0 Build type: RelWithDebInfo LuaJIT 2.1.1702233742 Run ":verbose version" for more infoProvide a minimal init.vim/vimrc without plugin managers (Required!)
Firstly, you have to clone this repository and install nerdfont. this repository is created for testing ddu-column.
https://github.com/kamecha/ddu-column-test
and write vimrc like bellow. ( the vimrc is included in ddu-column-test as min.vim)
How to reproduce the problem from neovim/Vim startup (Required!)
\
d
for start ddu. (\
or specified<Leader>
key)Screenshot (if possible)
Upload the log messages by
:redir
and:message
(if errored)