recognize non-terminal definitions

This makes it possible to use cmd+R or ctrl+R to jump to definitions.
ignore any Sublime cache-files