Skip to content

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.

1 participant