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