diff options
Diffstat (limited to 'docs/user')
-rw-r--r-- | docs/user/generated_config.adoc | 12 | ||||
-rw-r--r-- | docs/user/manual.adoc | 14 |
2 files changed, 26 insertions, 0 deletions
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index dbd9a3503..34a91486b 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc | |||
@@ -119,6 +119,7 @@ similar option. | |||
119 | + | 119 | + |
120 | -- | 120 | -- |
121 | Whether to add argument snippets when completing functions. | 121 | Whether to add argument snippets when completing functions. |
122 | Only applies when `#rust-analyzer.completion.addCallParenthesis#` is set. | ||
122 | -- | 123 | -- |
123 | [[rust-analyzer.completion.addCallParenthesis]]rust-analyzer.completion.addCallParenthesis (default: `true`):: | 124 | [[rust-analyzer.completion.addCallParenthesis]]rust-analyzer.completion.addCallParenthesis (default: `true`):: |
124 | + | 125 | + |
@@ -180,6 +181,11 @@ List of warnings that should be displayed with info severity. | |||
180 | The warnings will be indicated by a blue squiggly underline in code | 181 | The warnings will be indicated by a blue squiggly underline in code |
181 | and a blue icon in the `Problems Panel`. | 182 | and a blue icon in the `Problems Panel`. |
182 | -- | 183 | -- |
184 | [[rust-analyzer.experimental.procAttrMacros]]rust-analyzer.experimental.procAttrMacros (default: `false`):: | ||
185 | + | ||
186 | -- | ||
187 | Expand attribute macros. | ||
188 | -- | ||
183 | [[rust-analyzer.files.watcher]]rust-analyzer.files.watcher (default: `"client"`):: | 189 | [[rust-analyzer.files.watcher]]rust-analyzer.files.watcher (default: `"client"`):: |
184 | + | 190 | + |
185 | -- | 191 | -- |
@@ -222,6 +228,12 @@ Whether to show `Go to Type Definition` action. Only applies when | |||
222 | Whether to show `Implementations` action. Only applies when | 228 | Whether to show `Implementations` action. Only applies when |
223 | `#rust-analyzer.hoverActions.enable#` is set. | 229 | `#rust-analyzer.hoverActions.enable#` is set. |
224 | -- | 230 | -- |
231 | [[rust-analyzer.hoverActions.references]]rust-analyzer.hoverActions.references (default: `false`):: | ||
232 | + | ||
233 | -- | ||
234 | Whether to show `References` action. Only applies when | ||
235 | `#rust-analyzer.hoverActions.enable#` is set. | ||
236 | -- | ||
225 | [[rust-analyzer.hoverActions.run]]rust-analyzer.hoverActions.run (default: `true`):: | 237 | [[rust-analyzer.hoverActions.run]]rust-analyzer.hoverActions.run (default: `true`):: |
226 | + | 238 | + |
227 | -- | 239 | -- |
diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index 1f95df56e..9a8d76700 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc | |||
@@ -187,6 +187,20 @@ Install it with pacman, for example: | |||
187 | $ pacman -S rust-analyzer | 187 | $ pacman -S rust-analyzer |
188 | ---- | 188 | ---- |
189 | 189 | ||
190 | ==== Gentoo Linux | ||
191 | |||
192 | `rust-analyzer` is available in the GURU repository: | ||
193 | |||
194 | - https://gitweb.gentoo.org/repo/proj/guru.git/tree/dev-util/rust-analyzer-bin/rust-analyzer-bin-9999.ebuild[`dev-util/rust-analyzer-bin-9999`] (the https://github.com/rust-analyzer/rust-analyzer/releases/latest[latest release] as a live binary ebuild) | ||
195 | |||
196 | If not already, GURU must be enabled (e.g. using `app-eselect/eselect-repository`) and sync'd before running `emerge`: | ||
197 | |||
198 | [source,bash] | ||
199 | ---- | ||
200 | $ eselect repository enable guru && emaint sync -r guru | ||
201 | $ emerge rust-analyzer-bin | ||
202 | ---- | ||
203 | |||
190 | === Emacs | 204 | === Emacs |
191 | 205 | ||
192 | Note this excellent https://robert.kra.hn/posts/2021-02-07_rust-with-emacs/[guide] from https://github.com/rksm[@rksm]. | 206 | Note this excellent https://robert.kra.hn/posts/2021-02-07_rust-with-emacs/[guide] from https://github.com/rksm[@rksm]. |