Commit graph

7 commits

Author SHA1 Message Date
Daniel Hutzley 3a85ecd0df Add Rusty Object Notation to the Rust package 2020-08-24 08:24:51 +03:00
apiraino d42469c8f6 Extend rust module keybindings (#1237) 2019-06-18 19:33:11 +03:00
Josh Comer 63c697c2f4 Fix rust LSP
* Removed lsp-rust (RLS is built into lsp-mode now)
* Fixed setting up flycheck mode in rust mode
* Fixed LSP initialization due to deprecation
* LSP-mode now self configures company and ui-mode
2019-01-01 15:44:39 +02:00
Ben Alex 3a11f84bf5 Rust Language Server (RLS) support 2018-11-21 10:11:19 +01:00
Geoff Shannon 598fdd8392 Stop Rust source files from being made executable
Rust has an unfortunate syntax for setting attributes on a module file:

```rust
  #![...]
```

Since this is typically put at the top of the file, that makes the
shebang the first two characters, which makes the `after-save-hook`
function `executable-make-buffer-file-executable-if-script-p` function
change any such rust files executable.
2018-09-22 13:43:29 +04:00
Bozhidar Batsov cecae9ca19 Replace usages of eval-after-load with with-eval-after-load
`with-eval-after-load` was introduced in Emacs 24.4 and its
usage results in a cleaner code.

`eval-after-load` is considered ill-behaved because it is a function,
not a macro, and thus requires the code inside it to be quoted, which
means that it cannot be byte-compiled. It also accepts only one form,
so if you have more than one, you need to use `progn`.

More details - https://stackoverflow.com/questions/21880139/what-is-with-eval-after-load-in-emacs-lisp
2018-09-14 09:50:00 +03:00
Manoel Vilela bfee53643c Add the prelude-rust.el module (#1102)
The module uses the following packages:

* rust-mode (general utilities for rust development)
* flycheck-rust (syntax checking)
* cargo (keybinding as minor-mode for using cargo package manager)
* racer (wrapper for the race code completion tool using company-mode)
2017-07-17 17:07:48 +03:00