Skip to content

Commit

Permalink
fix typo (#4434)
Browse files Browse the repository at this point in the history
  • Loading branch information
Y4suyuki authored Apr 18, 2024
1 parent e47ea29 commit 0f3c340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/page/remote.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ root_file: docs/page/remote.md

### How does it work?

`lsp-mode` detects whether a particular file is located on remote machine and looks for a client which matches current file and it is marked as `:remote?` t. Then `lsp-mode` starts the client through tramp. By default `lsp-mode` will copy the local client and mark it as `remote? t`. In most of the cases it is good enough but certain cases this may not work (e. g. if the server configuration contains references to local paths). In this case the user is supposed to create `.dir-local` configuration to override the references to local paths or open an issue on `lsp-mode` side to make the setting remote agnostic. To turn of automatic remote clients registration you can set `lsp-auto-register-remote-clients` to `nil`.
`lsp-mode` detects whether a particular file is located on remote machine and looks for a client which matches current file and it is marked as `:remote?` t. Then `lsp-mode` starts the client through tramp. By default `lsp-mode` will copy the local client and mark it as `remote? t`. In most of the cases it is good enough but certain cases this may not work (e. g. if the server configuration contains references to local paths). In this case the user is supposed to create `.dir-local` configuration to override the references to local paths or open an issue on `lsp-mode` side to make the setting remote agnostic. To turn off automatic remote clients registration you can set `lsp-auto-register-remote-clients` to `nil`.

## Docker

Expand Down

0 comments on commit 0f3c340

Please sign in to comment.