mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-09-11 05:41:48 +00:00
Merge pull request #265 from himynameismartin/patch-1
Added C++ syntax highlighting
This commit is contained in:
commit
f62eae199a
@ -5,6 +5,7 @@ Please be consistent with the existing coding style.
|
||||
|
||||
Block style:
|
||||
|
||||
``` cpp
|
||||
bool Function(char* psz, int n)
|
||||
{
|
||||
// Comment summarising what this section of code does
|
||||
@ -19,6 +20,7 @@ Block style:
|
||||
// Success return is usually at the end
|
||||
return true;
|
||||
}
|
||||
```
|
||||
|
||||
- ANSI/Allman block style
|
||||
- 4 space indenting, no tabs
|
||||
|
Loading…
x
Reference in New Issue
Block a user