Skip to content

The "sticky" option doesn't seem to work #487

@Penguin-jpg

Description

@Penguin-jpg

I tested the sticky option and found that it didn't affect the cursor position, whether it was true or false.
Below is my config for Comment.nvim:
image
(I am using neovim 0.10.0 and the latest version of Comment.nvim .)

What I want to achieve is something like this:

-- "^" means the current cursor position.

-- Before comment
apple
^
-- After comment
-- apple
   ^

What I encounter:

-- Before comment
apple
^
-- After comment
-- apple
^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions