The built-in interpreter in Sublime Text 3 raises 'ImportError' exceptions if imports aren't relative to the 'Packages' directory. The same issue doesn't occur in the standard Python3 interpreter. Resolve the issue by hacking the path when running in Sublime Text. Signed-off-by: Stephen Finucane <email@example.com>
Fix issues with non-UTF8 charset If the line contains non-UTF8 characters, CTags can't jump to the correct point (e.g. 1 #中文). Instead of using 'ignore' on unparseable characters, use 'replace'. This causes the official Unicode replacement character, 'U+FFFD', to be used to replace these input characters which cannot be decoded.
If the symbol happens to contain a percent (%), the following happend: File "$HOME/.config/sublime-text-3/Packages/CTags/ctagsplugin.py", line 412, in format_tag_for_quickopen format = [(f or tag.symbol) % tag, tag.ex_command] ValueError: incomplete format