huy-hng / anyline.nvim

Neovim Indentation Line with Animations
71 stars 1 forks source link

Error after installing #4

Closed AB10110F closed 7 months ago

AB10110F commented 9 months ago

When I install the plugin and open neovim, it immediately shows me this error: image

Once inside the code, indentation char is shown like this until I move inside the block: image

I'm using neovim 0.9.4 on windows 10

I really liked your plugin, and I would use it despite the unexpected behavior, but it throws that error every time I try to type on insert mode :(

huy-hng commented 7 months ago

Sorry for the late response! For some reason I didn't get a notification for this issue. This should be fixed, I'm confused as to why this has worked for anyone ever 😂

The weird slanted indent lines happens because the font you are using doesn't have an italic version, which causes the font engine to 'force' slant the indent symbol. The reason it is being slanted in the first place is because I've linked the highlight to Comment instead of creating one. I have no idea why I did it this way, but I've linked it to NonText for now which usually isn't italic.

Let me know if you have any other issues :)