rewrite of plugin; add syntax file