Skip to content

Commit

Permalink
Add C tags to the taglist plugin (#188)
Browse files Browse the repository at this point in the history
Added tags for:
 - Including stdio.h
 - `include` statements
 - The `main` function
 - Comments and multi-line comments
 - `printf` statements
  • Loading branch information
nicqrocks authored and clefebvre committed Feb 19, 2018
1 parent 4c813f2 commit cc493b9
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions plugins/taglist/C.tags.xml.in
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<TagList xmlns="http://xed.sourceforge.net/some-location">
<TagGroup _name="C - Tags" sort="true">

<Tag name="STDIO">
<Begin>#include &lt;stdio.h&gt;</Begin>
</Tag>

<Tag name="include">
<Begin>#include </Begin>
</Tag>

<Tag name="main">
<Begin>int main() {
</Begin>
<End>
}</End>
</Tag>

<Tag name="Comment">
<Begin>/* </Begin>
<End> */</End>
</Tag>

<Tag name="Multi-Line Comment">
<Begin>/*
* </Begin>
<End>
*/</End>
</Tag>

<Tag name="printf">
<Begin>printf("</Begin>
<End>");</End>
</Tag>

</TagGroup>
</TagList>

0 comments on commit cc493b9

Please sign in to comment.