From 8c5b19033dc56c4443583e639ac2eb9f38ba8686 Mon Sep 17 00:00:00 2001 From: Rafal Chlodnicki Date: Sun, 27 Oct 2024 16:49:59 +0100 Subject: [PATCH] remove --- plugin/rename.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugin/rename.py b/plugin/rename.py index bde23f62b..bbbf82ea0 100644 --- a/plugin/rename.py +++ b/plugin/rename.py @@ -145,8 +145,6 @@ def input(self, args: dict) -> sublime_plugin.TextInputHandler | None: return None placeholder = args.get("placeholder", "") if not placeholder: - if point is None: - return None # guess the symbol name placeholder = self.view.substr(self.view.word(point)) return RenameSymbolInputHandler(self.view, placeholder)