mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 21:13:37 +00:00
Rename Emacs "extension"
This commit is contained in:
parent
96e759413d
commit
875352b2b6
2 changed files with 4 additions and 4 deletions
|
@ -137,7 +137,7 @@ Prerequisites:
|
||||||
Installation:
|
Installation:
|
||||||
|
|
||||||
* add
|
* add
|
||||||
[ra-emacs-lsp.el](../../editors/emacs/ra-emacs-lsp.el)
|
[rust-analyzer.el](../../editors/emacs/rust-analyzer.el)
|
||||||
to load path and require it in `init.el`
|
to load path and require it in `init.el`
|
||||||
* run `lsp` in a rust buffer
|
* run `lsp` in a rust buffer
|
||||||
* (Optionally) bind commands like `rust-analyzer-join-lines`, `rust-analyzer-extend-selection` and `rust-analyzer-expand-macro` to keys, and enable `rust-analyzer-inlay-hints-mode` to get inline type hints
|
* (Optionally) bind commands like `rust-analyzer-join-lines`, `rust-analyzer-extend-selection` and `rust-analyzer-expand-macro` to keys, and enable `rust-analyzer-inlay-hints-mode` to get inline type hints
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
;;; ra-emacs-lsp.el --- Rust analyzer emacs bindings for emacs-lsp -*- lexical-binding: t; -*-
|
;;; rust-analyzer.el --- Rust analyzer emacs bindings for emacs-lsp -*- lexical-binding: t; -*-
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
(require 'lsp)
|
(require 'lsp)
|
||||||
|
@ -275,5 +275,5 @@
|
||||||
(message "No macro found at point, or it could not be expanded")))))))
|
(message "No macro found at point, or it could not be expanded")))))))
|
||||||
|
|
||||||
|
|
||||||
(provide 'ra-emacs-lsp)
|
(provide 'rust-analyzer)
|
||||||
;;; ra-emacs-lsp.el ends here
|
;;; rust-analyzer.el ends here
|
Loading…
Reference in a new issue