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

added commentstring(s)? to the modeline all.snippets #1371

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

voyeg3r
Copy link

@voyeg3r voyeg3r commented Sep 21, 2021

I noticed that modelines did not include commentstrings and based on this question:
https://vi.stackexchange.com/questions/13028/

I have tried my best to improve this snippet

1 - added indentation to "vim" as needed for modelines
2 - added start commentstring --> (split(&cms, "%s")[0]) . concatenating
3 - If len( commetstring) is bigger than 1 add -> . (len(split(&cms,"%s")) > 1 ? split(&cms, "%s")[1] : '')

I hope this can help!

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

Successfully merging this pull request may close these issues.

None yet

1 participant