Skip to content

Commit

Permalink
fixup README full stop
Browse files Browse the repository at this point in the history
  • Loading branch information
werhner committed Nov 12, 2023
1 parent 7681549 commit 91523a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ It should be noted that lsp-bridge has three scanning modes:

1. Install lsp-bridge and the corresponding LSP Server on the remote server.
2. Start lsp-bridge: `python3 lsp-bridge/lsp_bridge.py`.
3. Use the `lsp-bridge-open-remote-file` command to open files, entering the username, IP, SSH port (default 22), and path, such as `user@ip:[ssh_port]:/path/file`.
3. Use the `lsp-bridge-open-remote-file` command to open files, entering the username, IP, SSH port (default 22), and path, such as `user@ip:[ssh_port]:/path/file`
4. Enabling the `lsp-bridge-enable-with-tramp` option allows direct opening of tramp files, using the efficient algorithm of lsp-bridge instead of tramp, achieving smooth completion. If the host in tramp is defined in `~/.ssh/config`, lsp-bridge can synchronize the following options for remote connection:
- HostName (must be in IP format, domain format may cause issues)
- User
Expand Down
2 changes: 1 addition & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ lsp-bridge 开箱即用, 安装好语言对应的 [LSP 服务器](https://gith

1. 在远程服务器安装 lsp-bridge 和相应的 LSP Server
2. 启动 lsp-bridge: `python3 lsp-bridge/lsp_bridge.py`
3.`lsp-bridge-open-remote-file`命令打开文件, 输入用户名、 IP、 SSH 端口(默认 22) 和路径, 例如`user@ip:[ssh_port]:/path/file`
3.`lsp-bridge-open-remote-file`命令打开文件, 输入用户名、 IP、 SSH 端口(默认 22) 和路径, 例如`user@ip:[ssh_port]:/path/file`
4. 启用`lsp-bridge-enable-with-tramp`选项可以直接打开 tramp 文件, 并用 lsp-bridge 的高效算法代替 tramp,实现流畅补全。如果 tramp 中 host 是在 `~/.ssh/config` 定义的,那么 lsp-birdge 可以同步下列选项用于远程连接:
- HostName(必须是 ip 形式的 hostname,domain 形式的 hostname 会导致问题)
- User
Expand Down

0 comments on commit 91523a7

Please sign in to comment.