add directives sytnax & snippets