1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

Add cpp snippets

This commit is contained in:
jdhao 2021-06-18 00:17:30 +08:00
parent 35d878eeaf
commit b0af2ed221

21
my_snippets/cpp.snippets Normal file
View File

@ -0,0 +1,21 @@
snippet bare "barebone code template"
#include <iostream>
#include <vector>
#include <string>
using std::cout;
using std::endl;
using std::vector;
using std::string;
int main()
{
}
endsnippet
snippet icd "#include directive" b
#include <$1>
$0
endsnippet