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:
parent
35d878eeaf
commit
b0af2ed221
21
my_snippets/cpp.snippets
Normal file
21
my_snippets/cpp.snippets
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user