add configuration for yasnippet & auto complete mode