lsp-bridge
概要
Emacs 用 LSP クライアント
補完に利用する
公式サイト
https://github.com/manateelazycat/lsp-bridge
インストール、設定
前提条件
Node.js が必要
Emacs 28以上である事
- markdown-mode、yasnippetが必要
Python補完用構築
pip install epc orjson six
pip install pyright
このあと、Node.js がはいっている状態で、pyright を起動すると、自動で server(pyright-langserver等)がはいる
pyright --version
Emacs
Emacs は leaf を利用して以下のような設定
(leaf yasnippet
:ensure t
:global-minor-mode yas-global-mode
:config
(leaf yasnippet-snippets
:ensure t))
(leaf lsp-bridge
:el-get (lsp-bridge
:url "https://github.com/manateelazycat/lsp-bridge.git")
:custom (
(lsp-bridge-python-lsp-server . "pyright")))
