Guest User

Untitled

a guest
May 25th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. ## lang
  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. ## pref
  13. { showInSymbolList = 1;
  14. symbolTransformation = '
  15. s/^%\s+([A-Z0-9]+.+)\n?$/    $1/; # \paragraph
  16. s/^\\.*\{(.+)\}/$1/;
  17. ';
  18. }
  19.  
  20. ## sample comment
  21. % COMMENT
Add Comment
Please, Sign In to add comment