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

more cpp snippets

This commit is contained in:
jdhao 2021-10-30 01:24:08 +08:00
parent 49482b8ea0
commit e2efea79ba

View File

@ -134,4 +134,26 @@ endsnippet
snippet sol "solution" w
auto solution = Solution();
$0
endsnippet
snippet for "for loop" w
for ($1; $2; $3){
$4
}
endsnippet
snippet if "if condition" w
if ($1){
$2
}
$0
endsnippet
snippet ifelse "if else condition"
if ($1){
$2
}else{
}
endsnippet