From d88a8c34b4c9fab961af22c72d24d637ef3da9f2 Mon Sep 17 00:00:00 2001 From: Tomasz Wisniewski Date: Mon, 9 Nov 2015 15:35:08 +0000 Subject: [PATCH] Add cpp specific include snippet The standard inclusion template has been changed from "stdio.h" to iostream. In case of C++, the user most likely will work with STL containers/headers which by default don't require the ".h" extension. --- snippets/cpp.snippets | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/snippets/cpp.snippets b/snippets/cpp.snippets index 632f76f..6185ed9 100644 --- a/snippets/cpp.snippets +++ b/snippets/cpp.snippets @@ -1,5 +1,11 @@ extends c +## +## Preprocessor +# #include <...> +snippet inc + #include <${1:iostream}> +## ## STL Collections # std::array snippet array