Improve C snip; removing trivial comment
This commit is contained in:
parent
466124f4b2
commit
0d8e32fe38
@ -114,7 +114,6 @@ abbr include-guard
|
|||||||
snippet conditional
|
snippet conditional
|
||||||
(${1:#:condition}) ? ${2:#:a} : ${3:#:b}
|
(${1:#:condition}) ? ${2:#:a} : ${3:#:b}
|
||||||
|
|
||||||
# Typedef
|
|
||||||
snippet typedef
|
snippet typedef
|
||||||
typedef ${1:#:base_type} ${2:#:custom_type};
|
typedef ${1:#:base_type} ${2:#:custom_type};
|
||||||
|
|
||||||
@ -143,14 +142,12 @@ snippet helloworld
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
# fopen
|
|
||||||
snippet fopen
|
snippet fopen
|
||||||
abbr fopen("...", "...");
|
abbr fopen("...", "...");
|
||||||
fopen("${1:PATH}", "${2:MODE}");
|
fopen("${1:PATH}", "${2:MODE}");
|
||||||
${0:TARGET}
|
${0:TARGET}
|
||||||
fclose(${3:FD});
|
fclose(${3:FD});
|
||||||
|
|
||||||
# fgets
|
|
||||||
snippet fgets
|
snippet fgets
|
||||||
abbr fgets(row, length, file);
|
abbr fgets(row, length, file);
|
||||||
fgets(${0:ROW}, ${1:LENGTH}, ${2:FILE});
|
fgets(${0:ROW}, ${1:LENGTH}, ${2:FILE});
|
||||||
|
Loading…
Reference in New Issue
Block a user