Skip to content

Instantly share code, notes, and snippets.

@iGEL
Created November 15, 2010 20:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iGEL/700921 to your computer and use it in GitHub Desktop.
Save iGEL/700921 to your computer and use it in GitHub Desktop.
# Another example with YAML. Consider this file (the <c> is my cursor):
en:
test:
hello: "World"<c>
# Now I press Enter
en:
test:
hello: "World"
<c>
# So far, so good. Now I press backspace, so I can insert something at the same level as test:
en:
test:
hello: "World"
<c>
#Now the unexpected happens: As soon as I enter another char, the line is indented again to the same level as hello:
en:
test:
hello: "World"
no_test: "World"<c>
#Expected:
en:
test:
hello: "World"
no_test: "World"<c>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment