-
-
Notifications
You must be signed in to change notification settings - Fork 947
Rust
Table of Contents
-
lsp-rust-serverChoose LSP server (default is RLS) -
lsp-rust-switch-serverSwitch priorities of lsp servers
This is an incomplete list of the available options
-
lsp-rust-rls-server-commandchange command to start RLS -
lsp-rust-show-hover-contextturn off hover tooltips
lsp-rust-analyzer-server-command change command to start rust-analyzer
lsp-rust-analyzer-server-display-inlay-hints turn off inlay hints
Display syntax tree for current buffer
Display status information for rust-analyzer
Join selected lines into one, smartly fixing up whitespace and trailing commas
before

after

lsp-rust-analyzer-inlay-hints-mode enables displaying of inlay hints
NOTE: the inlay hints interact badly with the lsp-ui sideline, because it doesn't seem to consider the overlays in its width calculation, which often leads to lines wrapping around.