You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 25, 2019. It is now read-only.
Hello,
I ran into trouble a few times when indent was automatically increased for a line when I edited it and put a dash somewhere in the middle of the line.
I changed the line
setlocal indentkeys=!^Fo,O,0#,<:>,-
to
setlocal indentkeys=!^Fo,O,0#,<:>,=-
in indent/ansible.vim for now, but I don't know Vim enough to know whether this is a solution or disabled something else.
Wanted to let you know. Cheers!
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/8961819-indenting-line-when-typing-a-dash-in-the-middle-of-that-line?utm_campaign=plugin&utm_content=tracker%2F509109&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F509109&utm_medium=issues&utm_source=github).
The text was updated successfully, but these errors were encountered:
Thanks! I was seeing the same thing and this fixed it for me in most cases. When I paste something that contains a dash I still get the bad indentation, but this is definitely an improvement.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
I ran into trouble a few times when indent was automatically increased for a line when I edited it and put a dash somewhere in the middle of the line.
I changed the line
setlocal indentkeys=!^Fo,O,0#,<:>,-
to
setlocal indentkeys=!^Fo,O,0#,<:>,=-
in indent/ansible.vim for now, but I don't know Vim enough to know whether this is a solution or disabled something else.
Wanted to let you know. Cheers!
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/8961819-indenting-line-when-typing-a-dash-in-the-middle-of-that-line?utm_campaign=plugin&utm_content=tracker%2F509109&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F509109&utm_medium=issues&utm_source=github).The text was updated successfully, but these errors were encountered: