From d1b8861e48ddb1544930f60576186e8ae9d681ab Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Fri, 25 Dec 2020 22:56:49 +0100 Subject: [PATCH] Try the rust module again --- config.org | 2 +- init.el | 8 ++++---- packages.el | 2 -- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/config.org b/config.org index 4364681..ccc7fae 100644 --- a/config.org +++ b/config.org @@ -170,7 +170,7 @@ Disable smart parens because half of the time it doesn't do what I want: =rustfmt= limits lines to 100 characters, let's display it correctly. #+BEGIN_SRC emacs-lisp -(add-hook! rust-mode +(add-hook! rustic-mode (set-fill-column 100)) #+END_SRC diff --git a/init.el b/init.el index d1268ef..020ee0c 100644 --- a/init.el +++ b/init.el @@ -20,7 +20,7 @@ ;;layout ; auie,ctsrnm is the superior home row :completion - ;;company ; the ultimate code completion backend + company ; the ultimate code completion backend ;;helm ; the *other* search engine for love and life ;;ido ; the other *other* search engine... (ivy +icons) ; a search engine for love and life @@ -79,7 +79,7 @@ ;;vterm ; the best terminal emulation in Emacs :checkers - ;;syntax ; tasing you for every semicolon you forget + syntax ; tasing you for every semicolon you forget ;;spell ; tasing you for misspelling mispelling ;;grammar ; tasing grammar mistake every you make @@ -93,7 +93,7 @@ ;;(eval +overlay) ; run code, run (also, repls) ;;gist ; interacting with github gists lookup ; navigate your code and its documentation - ;;lsp + lsp magit ; a git porcelain for Emacs ;;make ; run make tasks from Emacs ;;pass ; password manager for nerds @@ -159,7 +159,7 @@ ;;rest ; Emacs as a REST client ;;rst ; ReST in peace ;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"} - ;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap() + (rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap() ;;scala ; java, but good ;;scheme ; a fully conniving family of lisps (sh ; she sells {ba,z,fi}sh shells on the C xor diff --git a/packages.el b/packages.el index 04b1fd3..4aa6f6e 100644 --- a/packages.el +++ b/packages.el @@ -54,5 +54,3 @@ ;; C/C++ mode adds this, and I don't really need it (package! irony :disable t) - -(package! rust-mode)