Rustic is an extension of rust-mode which adds a number of useful features (see the its github readme) to it. The essential modes being used are the following: Otherwise you can add a snippet like below to your init.el: (unless (package-installed-p 'use-package) It will be auto-installed in the standalone version of this config. Note that I use use-package for Emacs package management. Note that the config will likely work with older Emacs versions but Emacs 27 got substantial improvements around JSON parsing which speeds up LSP clients quite a bit. On Ubuntu adding another apt repository is necessary. On Windows I use the “nearby GNU mirror” link at gnu.org/software/emacs. This should work with older versions of the relevant emacs packages as well. The rksm/emacs-rust-config github repo contains a standalone.el file that you can use to start Emacs with: If you have already Rust and Emacs installed (see prerequisites) you can get quickly up and running without modifying any of your existing configuration.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |