Guest User

Untitled

a guest
May 25th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. ## language
  2. { scopeName = 'text.tex.latex';
  3. fileTypes = ( 'tex' );
  4. patterns = (
  5. { name = 'comment.line.magic-section.latex';
  6. match = '^%\s+[A-Z0-9]+.+\n?$';
  7. },
  8. { include = 'text.tex.latex'; },
  9. );
  10. }
  11.  
  12. works without any problems
  13.  
  14. ## preference
  15. { showInSymbolList = 1;
  16. symbolTransformation = '
  17. s/^%.*([A-Z0-9]+.+)\n?$/    $1/;
  18. s/^\\.*\{(.+)\}/$1/;
  19. ';
  20. }
Add Comment
Please, Sign In to add comment