change text-mode snippets
set text-mode as cc-mode & prog-mode parents