add undotree plugin support