-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
Indents when using # #221
Comments
Nice one @cynicXer. Merged this in 👏 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The hash symbol (#) is always inserted at the left-most column of a file, which can cause some headaches when hacking out a Python script. I turned off smartindent (si) and set cindent instead, following the instructions here: http:https://vim.wikia.com/wiki/Restoring_indent_after_typing_hash.
set ci
set cinkeys-=0#
set indentkeys-=0#
This seemed to fix the issue.
The text was updated successfully, but these errors were encountered: