From b1799af981bd0787f890308643e11892fdd192a7 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Thu, 14 Jan 2021 14:30:17 -0500 Subject: [PATCH] Add rust environment --- README.org | 14 ++++++++++++++ init.el | 2 ++ 2 files changed, 16 insertions(+) diff --git a/README.org b/README.org index 7933ed1..97c1851 100644 --- a/README.org +++ b/README.org @@ -521,6 +521,19 @@ https://www.emacswiki.org/emacs/PythonProgrammingInEmacs (dap-python-debugger 'debugpy)) #+end_src +** Rust + +Full *IDE* experience for Rust within Emacs. ++ Completion via =lsp-mode= ++ Debugging via =dap-mode= + +https://github.com/brotzeit/rustic ++ Install via ~lsp-install-server~ + +#+begin_src emacs-lisp +(use-package rustic) +#+end_src + * Writing :PROPERTIES: :header-args: :tangle init.el :results silent @@ -644,3 +657,4 @@ Create a capture template for presentations stored in the =slides= sub directory :file-name "slides/${slug}" :head "#+TITLE: ${title}\n")) #+end_src + diff --git a/init.el b/init.el index f8f8a09..8b4deb6 100644 --- a/init.el +++ b/init.el @@ -208,6 +208,8 @@ (dap-python-executable "python3") ;; Same as above. (dap-python-debugger 'debugpy)) +(use-package rustic) + (use-package org-roam :hook (after-init . org-roam-mode) :custom (org-roam-directory dotfiles/brain))