Skip to content
Snippets Groups Projects
Commit 107b01d6 authored by andi's avatar andi
Browse files

sorting support for syntax plugins, info plugin now actually does something

Syntax plugins now need to implement getSort() which should return a number.
This number is used to add all syntax modes in the correct order. To see a
list in which order current modes are loaded you can use the info plugin like
this:

~~INFO:syntaxmodes~~ lists all known modes (includes existing plugins) with
their sorting score

~~INFO:syntaxtypes~~ lists all syntax types and their registered modes (useful
for implementing the getType() function.

darcs-hash:20050521210430-9977f-2baaf6043afc6ea3fed41cdca97564218fb519c2.gz
parent 52339126
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment