Skip to content

Commit

Permalink
Merge pull request #647 from mumu-lhl/fix
Browse files Browse the repository at this point in the history
Fix cannot highlight elisp documentation
  • Loading branch information
manateelazycat committed Jun 9, 2023
2 parents 46ff169 + 1f17d43 commit 6f714d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/codeium.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ def dispatch(self, data, editor_language, prefix, cursor_offset=None):

if "completionItems" in data:
language = editor_language.split("-")[0]
language = language.replace("emacs", "elisp")

for completion in data["completionItems"][: self.max_num_results - 1]:
label = completion["completion"]["text"]
Expand Down

0 comments on commit 6f714d2

Please sign in to comment.