Skip to content

Commit

Permalink
Merge pull request #1155 from doing1024/fix/add-self-to-trun-off-by-s…
Browse files Browse the repository at this point in the history
…ingle-file

fix: Add missing self parameter to turn_off_by_single_file
  • Loading branch information
manateelazycat authored Jan 30, 2025
2 parents c87e6ac + 5b4c1f9 commit b697a30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lsp_bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ def turn_off(self, filepath, message):
message_emacs(message + ", disable LSP feature.")
eval_in_emacs("lsp-bridge--turn-off-lsp-feature", filepath, get_lsp_file_host())

def turn_off_by_single_file(filepath, single_lang_server):
def turn_off_by_single_file(self, filepath, single_lang_server):
self.turn_off(
filepath,
"ERROR: {} not support single-file, you need put this file in a git repository or put .dir-locals.el in project root directory".format(single_lang_server))
Expand Down

0 comments on commit b697a30

Please sign in to comment.