Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not an Issue, implementation question #132

Open
ikouchiha47 opened this issue Jun 1, 2020 · 0 comments
Open

Not an Issue, implementation question #132

ikouchiha47 opened this issue Jun 1, 2020 · 0 comments

Comments

@ikouchiha47
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant