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

Add vim modeline magic #31

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

Conversation

Rogdham
Copy link

@Rogdham Rogdham commented Nov 16, 2014

Automagically enforce a 2 space indentation to vim users.

Nothing fancy, just one comment line at the end of the file. The alternative is to put this line at the very top of the file, just after the shebang (i.e. on line number 2). Please tell me if you prefer the alternative more.

Automagically enforce a 2 space indentation to vim users.
@progrium
Copy link
Owner

Do you know how many other popular editors use this vim data?

@Rogdham
Copy link
Author

Rogdham commented Nov 20, 2014

I'm sorry but I have quite no idea (I only know about a plugin for gedit…) .

I can't say that I have a strong opinion on this PR. I find it pretty convenient as a vim user, but at the same time I understand that having editor-specific lines in your source code is not that great.

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.

2 participants