Skip to content

Compatibility problem with set cursorline #24

Closed
@mwcz

Description

@mwcz

First, love the plugin! It even worked out of the box with .less files. That may be because I have the vim-less plugin. If it could be made to work with the .less color functions like lighten(color,percentage), my palette.less file would be gorgeous. Either way, it's pretty awesome.

Onto the (fairly minor) problem. I use the set cursorline option which highlights the line the cursor is on.

Cursor on first line:
image

Cursor on same line as a color:
image

I skimmed through the plugin but I don't know enough vimscript to fix it straightaway. When a color is on the cursor's current line, it should either colorize the fg and bg, or neither. Right now, it's colorizing the fg but not the bg.

The colorscheme in the screenshots is zenburn. Let me know if I can provide any other info.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions