Advertisement
Guest User

Untitled

a guest
Nov 2nd, 2017
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 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: second #allows a _ at start of the line followed by anything
  12. escape: '^(?!_)' #until a line doesn't start with a_
  13. - match: '.*+' #everything else is disallowed
  14. scope: invalid.illegal
  15. second: #matches a line consisting of a _ followed by anything
  16. - match: '^_.*$'
  17. scope: conditions.character.scope
  18. - match: '.*+' #everything else is disallowed
  19. scope: invalid.illegal
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement