Skip to content

add view.cursorlineopt #3157

Closed
Closed
@eeeXun

Description

@eeeXun
Contributor

I used to have

require("nvim-tree.view").View.winopts.cursorlineopt = "number"

to change cursorlineopt. Since cursorlineopt is not available in nvim-tree-opts-view.

How should I do after 0a06f65?

Activity

changed the title [-]0a06f65bf06157972f20ca1dee03c97a0efcb188 breaks view config[/-] [+]0a06f65 breaks view config[/+] on Jun 20, 2025
changed the title [-]0a06f65 breaks view config[/-] [+]#0a06f65 breaks view config[/+] on Jun 20, 2025
changed the title [-]#0a06f65 breaks view config[/-] [+]#3153 breaks view config[/+] on Jun 20, 2025
alex-courtis

alex-courtis commented on Jun 20, 2025

@alex-courtis
Member

Apologies, View is not API and has been refactored from a singleton to instances.

We can add an option for the hardcoded cursorlineopt.

added a commit that references this issue on Jun 20, 2025

fix(#3157): add view.cursorlineopt

changed the title [-]#3153 breaks view config[/-] [+]add missing view.cursorlineopt[/+] on Jun 20, 2025
changed the title [-]add missing view.cursorlineopt[/-] [+]add view.cursorlineopt[/+] on Jun 20, 2025
added a commit that references this issue on Jun 20, 2025

feat(#3157): add view.cursorlineopt (#3158)

8eb5e0b
alex-courtis

alex-courtis commented on Jun 20, 2025

@alex-courtis
Member

In the interests of speed I've merged the feature. Please update and advise whether it works as expected.

9 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @alex-courtis@l00sed@eeeXun

      Issue actions

        add view.cursorlineopt · Issue #3157 · nvim-tree/nvim-tree.lua