Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class AbstracPluginClass
- all_syntaxes: [
- "php"
- "javascript"
- "bash"
- "html"
- #...
- ]
- class MonPlugin extends AbstracPluginClass
- new_syntaxes = [
- javascript: "js"
- bash: "sh"
- others:
- "jquery": "javascrit" #Set javascript for each other plugin if jquery is not defined in all_syntaxes
- ]
- setSyntaxes({js: "javascript"})
Add Comment
Please, Sign In to add comment