diff --git a/rplugin/python3/denite/lsp/protocol.py b/rplugin/python3/denite/lsp/protocol.py index ac8564ba0..99ad684d1 100644 --- a/rplugin/python3/denite/lsp/protocol.py +++ b/rplugin/python3/denite/lsp/protocol.py @@ -50,6 +50,6 @@ def describe(self): if e == SymbolKind.Unknown: s = "" else: - s = re.sub("([a-z])([A-Z])", r"\g<1> \g<2>", str(e).split(".", 1)[1]) + s = re.sub("([a-z])([A-Z])", r"\g<1> \g<2>", e.name) SymbolKind._pprint_map[int(e)] = s