diff --git a/sourcecodebrowser/plugin.py b/sourcecodebrowser/plugin.py index 19123fc..5321a9b 100644 --- a/sourcecodebrowser/plugin.py +++ b/sourcecodebrowser/plugin.py @@ -218,7 +218,7 @@ def parse_file(self, path, uri): filename to pass to ctags, and the uri is the actual URI as known by Gedit. They would be different for remote files. """ - command = "ctags -nu --fields=fiKlmnsSzt -f - '%s'" % path + command = "ctags --langmap=c++:+.ino -nu --fields=fiKlmnsSzt -f - '%s'" % path #self._log.debug(command) try: parser = ctags.Parser()