Skip to content

Commit

Permalink
Add more types of tags to be displayed to helm-semantic
Browse files Browse the repository at this point in the history
It should also display dependenciy tags, such as include headers in C
and C++.

Signed-off-by: Tu, Do <tuhdo1710@gmail.com>
  • Loading branch information
tuhdo committed Oct 6, 2014
1 parent ab3dec4 commit bb432b8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion helm-semantic.el
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,12 @@
(semantic-tag-components tag) (1+ depth) class)))

;; Don't do anything with packages or includes for now
((package include))
((package include)
(insert
(propertize (semantic-format-tag-summarize tag nil t)
'semantic-tag tag)
"\n")
)
;; Catch-all
(t))))))

Expand Down

0 comments on commit bb432b8

Please sign in to comment.