Advertisement
Guest User

Untitled

a guest
Nov 1st, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. %YAML 1.2
  2. ---
  3. # See http://www.sublimetext.com/docs/3/syntax.html
  4. name: __embed_test
  5. scope: conditions
  6. contexts:
  7. main:
  8. - match: '(A)' #matches a line consisting only in an "a"
  9. captures:
  10. 1: conditions.character.scope
  11. embed: a
  12. escape: 'a'
  13. - match: '.*+' #everything else is disallowed
  14. scope: invalid.illegal
  15. b:
  16. - match: (A)
  17. captures:
  18. 1: conditions.character.scope
  19. embed: a
  20. escape: 'a' #this should escape if more 1 more tab than the previous line is used
  21. a:
  22. - match: (B)
  23. captures:
  24. 1: conditions.character.scope
  25. embed: b
  26. escape: 'b' #this should escape if more 1 more tab than the previous line is used
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement