mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 20:43:21 +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:
|
||||
|
||||
* 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`
|
||||
* 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
|
||||
|
|
|
@ -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:
|
||||
|
||||
(require 'lsp)
|
||||
|
@ -275,5 +275,5 @@
|
|||
(message "No macro found at point, or it could not be expanded")))))))
|
||||
|
||||
|
||||
(provide 'ra-emacs-lsp)
|
||||
;;; ra-emacs-lsp.el ends here
|
||||
(provide 'rust-analyzer)
|
||||
;;; rust-analyzer.el ends here
|
Loading…
Reference in a new issue