Skip to content

Not an Issue, implementation question #132

@ikouchiha47

Description

@ikouchiha47

Hey.
I am quite new to vimscript. I found this while I was implementing my own.
As I was going through the codebase. I found these lines quite intriguing.

My question is why such a complex substitution was required?
Why not take each line, see if it starts with l, and if it does then substitute %s with the line?

Also, why is this !~# \\ needed? And the use of \d?

Thanks

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