Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## lang
- { scopeName = 'text.tex.latex';
- fileTypes = ( 'tex' );
- patterns = (
- { name = 'comment.line.magic-section.latex';
- match = '^%\s+[A-Z0-9]+.+\n?$';
- },
- { include = 'text.tex.latex'; },
- );
- }
- ## pref
- { showInSymbolList = 1;
- symbolTransformation = '
- s/^%\s+([A-Z0-9]+.+)\n?$/ $1/; # \paragraph
- s/^\\.*\{(.+)\}/$1/;
- ';
- }
- ## sample comment
- % COMMENT
Add Comment
Please, Sign In to add comment