From 7bbb7dab6d46d121a23ed1989d39df5e55ed13c3 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Mon, 20 Jul 2020 06:40:05 +0200 Subject: [PATCH] Add configuration for the Rust language --- configuration.org | 10 ++++++++++ customizations.el | 3 +++ 2 files changed, 13 insertions(+) diff --git a/configuration.org b/configuration.org index 1a4c48e..535a9b8 100644 --- a/configuration.org +++ b/configuration.org @@ -3644,6 +3644,16 @@ directory. It is available from [[http://plantuml.com/download][here]]. :mode "\\.pony\\'") #+END_SRC +** Rust + +#+BEGIN_SRC emacs-lisp +(use-package rust-mode + :mode "\\.rs\\'") +(use-package cargo + :mode "\\.rs\\'") +(use-package flycheck-rust) +#+END_SRC + * Games ** Gnu Go diff --git a/customizations.el b/customizations.el index 09b7e63..5c187c7 100644 --- a/customizations.el +++ b/customizations.el @@ -47,6 +47,7 @@ avy beacon bind-key + cargo cheatsheet ciel coffee-mode @@ -87,6 +88,7 @@ feature-mode flycheck flycheck-pkg-config + flycheck-rust flymake-python-pyflakes focus forge @@ -209,6 +211,7 @@ request restclient restclient-helm + rust-mode s sass-mode secretaria