add cpp snippets, modify the showmarks plugin