Commit Graph

14 Commits

Author SHA1 Message Date
63b0ebeda7 refactor!(rust): remove racer and default to +lsp
BREAKING CHANGE: Racer is no longer developed and its project page
recommends using rust-analyzer instead. Moreover, users have reported
issues trying to build/install it on recent versions of rust, so I've
removed support for Racer from Doom, and now default solely to LSP for
IDE features.

Users that want these features will need to activate the module's +lsp
flag (along with the :tools lsp module) and install rust-analyzer. See
the module's README for instructions.

Close: #6705
Co-authored-by: c1ttim <c1ttim@users.noreply.github.com>
2022-09-07 01:25:18 +02:00
a7df1f76a4 Bump :lang rust
brotzeit/rustic@d97ec86 -> brotzeit/rustic@ed68fd3

Includes minor refactors
2021-05-03 00:17:16 -04:00
3549cb6845 Modify command to execute cargo audit 2020-08-27 10:59:25 +02:00
c86d400518 lang/rust: replace cargo.el w/ rustic-cargo #2108 2019-11-23 16:00:30 -05:00
9f37363764 use keybindings from cargo mode 2019-07-04 20:58:44 +02:00
f20f477a44 lang/rust: fix documentation lookup handler #1374 2019-04-30 20:21:12 -04:00
8e18b402ce lang/rust: run cargo commands from Cargo.toml dir
Instead of the current directory, which breaks file links in the
compilation buffer.
2019-04-10 18:52:08 -04:00
de730535a4 lang/rust: fix +rust-cargo-project-p not detecting nearer Cargo.toml files 2018-03-14 18:44:55 -04:00
d0fcb23314 Replace feature/eval build system with def-menu! 2017-10-03 02:58:09 +02:00
c7254e7bdc Major optimization refactor, across the board
+ enable lexical-scope everywhere (lexical-binding = t): ~5-10% faster
  startup; ~5-20% general boost
+ reduce consing, function calls & garbage collection by preferring
  cl-loop & dolist over lambda closures (for mapc[ar], add-hook, and
  various cl-lib filter/map/reduce functions) -- where possible
+ prefer functions with dedicated opcodes, like assq (see byte-defop's
  in bytecomp.el for more)
+ prefer pcase & cond (faster) over cl-case
+ general refactor for code readability
+ ensure naming & style conventions are adhered to
+ appease byte-compiler by marking unused variables with underscore
+ defer minor mode activation to after-init, emacs-startup or
  window-setup hooks; a customization opportunity for users + ensures
  custom functionality won't interfere with startup.
2017-06-09 00:47:45 +02:00
1f8c4ed383 Remove hanging autoload cookies (causing errors) 2017-05-19 03:09:03 +02:00
648c4c1d3b Update lang modules' :build settings 2017-04-07 01:46:33 -04:00
4bd408d476 lang/rust: remove +rust/install-racer (replaced with bootstrapper) 2017-04-07 01:46:33 -04:00
6704736100 lang/rust: refactor racer config + add +rust/install-racer command (WIP) 2017-02-21 03:46:07 -05:00