Guest User

Untitled

a guest
Apr 19th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. # config: (vim -u)
  2. # set foldmarker={,}
  3. # set foldmethod=marker
  4.  
  5. # {
  6. foo() {
  7. bar="{,}" # <- folds correctly
  8. bar="{ 1,1}" # <- folds correctly
  9. bar="{1}" # <- breaks folding!
  10. # folding breaks because of an integer (in this case 1)
  11. # attached to the left fold marker
  12. }
  13. # }
Add Comment
Please, Sign In to add comment