[geany/geany] e12904: Honor --ruby-kinds option in ruby.c

Artem Nezvigin git-noreply at xxxxx
Mon Mar 14 18:26:54 UTC 2016


Branch:      refs/heads/master
Author:      Artem Nezvigin <artem at artnez.com>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Mon, 14 Mar 2016 18:26:54 UTC
Commit:      e129043c9810cbbcb87b811d5f5b2bfd7842405a
             https://github.com/geany/geany/commit/e129043c9810cbbcb87b811d5f5b2bfd7842405a

Log Message:
-----------
Honor --ruby-kinds option in ruby.c

Fixes universal-ctags/ctags#49


Modified Paths:
--------------
    tagmanager/ctags/ruby.c

Modified: tagmanager/ctags/ruby.c
4 lines changed, 4 insertions(+), 0 deletions(-)
===================================================================
@@ -135,6 +135,10 @@ static void emitRubyTag (vString* name, rubyKind kind)
 	tagEntryInfo tag;
 	vString* scope;
 
+	if (!RubyKinds[kind].enabled) {
+		return;
+	}
+
 	vStringTerminate (name);
 	scope = stringListToScope (nesting);
 



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list