但是test.py就没有任何补全提示。
lsp-bridge buffer刚开始就是报错,是pyright有问题吗?
Eval in Emacs: (lsp-bridge–first-start '3697)
Traceback (most recent call last):
File “e:/BaiduSync/LeiMengfei/emacs.d/site-lisp/lsp-bridge/lsp_bridge.py”, line 446, in event_dispatcher
getattr(self, func_name)(*func_args)
File “e:/BaiduSync/LeiMengfei/emacs.d/site-lisp/lsp-bridge/lsp_bridge.py”, line 685, in _do
open_file_success = self.open_file(filepath) # _do is called inside event_loop, so we can block here.
File “e:/BaiduSync/LeiMengfei/emacs.d/site-lisp/lsp-bridge/lsp_bridge.py”, line 474, in open_file
project_path = get_project_path(filepath)
File “e:\BaiduSync\LeiMengfei\emacs.d\site-lisp\lsp-bridge\core\utils.py”, line 362, in get_project_path
if get_command_result(“git rev-parse --is-inside-work-tree”, dir_path) == “true”:
File “e:\BaiduSync\LeiMengfei\emacs.d\site-lisp\lsp-bridge\core\utils.py”, line 263, in get_command_result
encoding=“utf-8”)
TypeError: init() got an unexpected keyword argument ‘text’
Eval in Emacs: (lsp-bridge-search-backend–record-items '“file-words” '())
Eval in Emacs: (lsp-bridge-search-backend–record-items '“file-words” '())
Eval in Emacs: (lsp-bridge-search-backend–record-items '“file-words” '())
Eval in Emacs: (lsp-bridge-search-backend–record-items '“file-words” '())
Eval in Emacs: (lsp-bridge-search-backend–record-items '“file-words” '())
Eval in Emacs: (lsp-bridge-search-backend–record-items '“file-words” '())
Eval in Emacs: (lsp-bridge-search-backend–record-items '“file-words” '(“import”))
Eval in Emacs: (lsp-bridge-search-backend–record-items '“file-words” '(“impor”))
Eval in Emacs: (lsp-bridge-search-backend–record-items '“file-words” '(“impo”))
Eval in Emacs: (lsp-bridge-search-backend–record-items '“file-words” '())
Eval in Emacs: (lsp-bridge-search-backend–record-items '“file-words” '())
…后面还有很多。