Commit graph

36 commits

Author SHA1 Message Date
Henrik Lissner
88bb045388
docs(*): replace all-the-icons with nerd-icons
Also colorizes the leading icon in notices.
2023-09-16 20:19:11 +02:00
Ellis Kenyo
ee4a377cfa
docs(rust): update rustfmt command 2023-09-13 20:21:05 +01:00
Henrik Lissner
fecf1f8d28
docs(rust): fix links & revise
Ref: #6269
Co-authored-by: Schievel1 <Schievel1@users.noreply.github.com>
2023-07-22 19:02:44 +02:00
Joan Antoni RE
e51b7291c1 docs(rust): add missing +tree-sitter flag 2023-02-18 00:59:23 -05:00
TEC
5ac2a5258b docs: change link format 2022-10-05 01:01:19 +02:00
Henrik Lissner
a1c9d40ee8
docs(rust): de-emphasize rls
RLS has been deprecated for rust-analyzer, so it's best that our rust
module refrain from advertising it so prominently.

Ref: https://blog.rust-lang.org/2022/07/01/RLS-deprecation.html
2022-09-07 01:25:22 +02:00
Henrik Lissner
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
Henrik Lissner
1abcf913aa
revert: fix(docs): set mode in file-local vars
emacs-straight/org-mode@e22b4eb7aa introduced a breaking change that
made it impossible to rely on .dir-locals.el to change org-mode buffers
in $EMACSDIR to doom-docs-org-mode (without infinite recursion), so we
used file-local variables in 7e400ab.

emacs-straight/org-mode@215de6176b reverted that change, so we can use
.dir-locals.el again, and this is my preference, since it requires less
boilerplate across our hundreds of org files.

Ref: emacs-straight/org-mode@215de6176b
Ref: emacs-straight/org-mode@e22b4eb7aa
Revert: 7e400abdc0
2022-08-07 19:08:07 +02:00
Henrik Lissner
7e400abdc0
fix(docs): set mode in file-local vars
Due to emacs-straight/org-mode@e22b4eb, a replacement major mode (for
org-mode) can no longer be specified from .dir-locals.el, as it spirals
into infinite recursion. Therefore, a mode: line is needed in all Doom
docs.

Ref: emacs-straight/org-mode@e22b4eb7aa
2022-08-03 02:46:33 +02:00
Henrik Lissner
1255315bfc
refactor(docs): replace nav menus with virtual one
Now that the header is dynamically generated (when doom-docs-mode is
active), a literal header is unnecessary.
2022-08-02 19:37:07 +02:00
Henrik Lissner
e77a45bc22
docs: use lowercase keywords
As per Org's new defaults, which we're adopting elsewhere, so may as
well adopt it here.
2022-08-02 16:23:43 +02:00
Henrik Lissner
7246db457c docs: replace doom-source with doom-repo links
I will later use "source" to refer to module sources, so better we avoid
the terminology for now.
2022-02-01 18:55:27 +01:00
Henrik Lissner
2236c3bcda docs(rust): rustic-format-{on-save,trigger}
Ref: #5800
Co-authored-by: brotzeit <brotzeitmacher@gmail.com>
2021-11-21 20:04:28 +01:00
Henrik Lissner
88844e9cec docs: simplify internal docs links
Fewer links means less confusion.

- Merge doom-issue and doom-commit links into doom-ref (for auto-linking
  Issue/PR/commit references).
- Merge doom-module-source and doom-docs-source links into doom-source.
- Rename doom-report-issue to doom-report.
- Use '!' as the icon for module issues link.
- Remove doom-repo (replaced with "doom:*" in :lang org module).
- Add doomdir and emacsdir links to :lang org module.
2021-11-21 20:04:28 +01:00
Henrik Lissner
20cac97c08 docs(:lang): update READMEs to new format 2021-11-21 20:04:28 +01:00
Colin Woodbury
04b5dee615
[rust] Correct references to "elgot"
It's a typo.
2021-05-17 07:32:49 -07:00
Colin Woodbury
b771425f45
[:lang rust] Expand Prerequisites
And fix some minor spelling/grammar issues.
2021-05-17 07:24:55 -07:00
Bror Winther
5a98fa2748 Fixes typo in modules/lang/rust/README.org 2021-02-04 05:03:51 +01:00
Henrik Lissner
4cc8884a2f
lang/rust: mention "2015 edition" rustfmt error fix 2020-10-04 16:15:26 -04:00
Henrik Lissner
00e9d8335c
lang/rust: update readme 2020-08-23 17:27:32 -04:00
Henrik Lissner
cd3103b1be
Bump to brotzeit/rustic@6dead0c
From brotzeit/rustic@da3820d

Due to changes upstream, users can no longer use lsp-rust-server to
switch to rust-analyzer with rustic-mode. Use rustic-lsp-server instead.
2020-02-20 18:19:45 -05:00
Henrik Lissner
a0425d0df7
lang/rust: add eglot docs & inhibit package.el usage #2195 2019-12-21 14:15:20 -05:00
chrunchyjesus
9e7cdd04da fix doc for enabling rust analyzer 2019-12-16 18:32:09 +01:00
Henrik Lissner
ea632fc530
lang/rust: use lsp-rust instead of rustic-lsp
lsp-rust is supposedly superior, and doesn't assume anything about our
package management system like rustic does.

Relevant to #2195
2019-12-15 22:48:52 -05:00
Henrik Lissner
2769a1e24f
lang/rust: update README #2108 2019-11-23 16:12:06 -05:00
Henrik Lissner
c86d400518
lang/rust: replace cargo.el w/ rustic-cargo #2108 2019-11-23 16:00:30 -05:00
Sean Escriva
f62723644f
Fix install command for clippy, uses rustup
Trying to install with cargo fails with the following error:

```
Caused by:
  failed to run custom build command for `clippy v0.0.302`

Caused by:
  process didn't exit successfully: `/var/folders/66/180ynjt55z74l338gh0stq0c0000gn/T/cargo-installkNqJBB/release/build/clippy-bcde765a4c9acf93/build-script-build` (exit code: 1)
--- stderr

error: Clippy is no longer available via crates.io

help: please run `rustup component add clippy-preview` instead
```
2019-09-27 14:39:17 -04:00
Henrik Lissner
bb68bcb80a
lang/rust: update prerequisites in README #1827 2019-09-26 14:26:47 -04:00
chrunchyjesus
e577ce0162
add b prefix back 2019-07-05 16:15:05 +02:00
chrunchyjesus
301173f35f
remove b prefix, small refactor 2019-07-04 21:33:13 +02:00
chrunchyjesus
883c390e2e
add documentation regarding some commands 2019-07-04 21:13:21 +02:00
chrunchyjesus
9f37363764
use keybindings from cargo mode 2019-07-04 20:58:44 +02:00
Jarmo Riikonen
7919825e4f Fix to Troubleshooting link. 2019-06-05 10:28:17 +03:00
Jarmo Riikonen
b89e71fe7b Fixed some things in description and Plugins 2019-06-05 09:59:44 +03:00
Jarmo Riikonen
13a9e00fff Rust README to new format 2019-06-05 09:49:02 +03:00
Henrik Lissner
8361e13383
Add lang/rust/README.org 2017-11-02 20:00:43 +01:00