Skip to content

Instantly share code, notes, and snippets.

@k-tsj
Created September 14, 2024 00:57
Show Gist options
  • Save k-tsj/311d97c36685757d7a205169b8422557 to your computer and use it in GitHub Desktop.
Save k-tsj/311d97c36685757d7a205169b8422557 to your computer and use it in GitHub Desktop.
--- /usr/share/global/gtags/script/pygments_parser.py.orig 2024-09-14 09:43:15.999496909 +0900
+++ /usr/share/global/gtags/script/pygments_parser.py 2024-09-14 09:44:10.966028946 +0900
@@ -202,7 +202,7 @@
# Update ctags's path from the configuration file
global EXUBERANT_CTAGS
path = load_ctags_path()
- if path != '':
+ if path != b'':
EXUBERANT_CTAGS = path
if EXUBERANT_CTAGS != '' and EXUBERANT_CTAGS != 'no':
pygments_parser = PygmentsParser(langmap, options)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment