Skip to content

Commit cd97361

Browse files
committed
Adopt an uniform style across all Markdown files in the project
1 parent 392582e commit cd97361

22 files changed

+211
-201
lines changed

.markdownlint-cli2.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
config:
2+
default: true
3+
MD004:
4+
style: dash
5+
MD007:
6+
indent: 2
7+
MD029:
8+
style: ordered

CHANGELOG.md

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -4,74 +4,74 @@
44

55
### New features
66

7-
* Enable `org-habits`.
8-
* Neatly track `TODO` state changes in a drawer (LOGBOOK), thereby improving readability.
9-
* Add a module to enable Literate Programming (`prelude-literal-programming.el`).
10-
* Add a Racket module.
11-
* Add a Lua module.
12-
* Auto-install `racket-mode` if needed.
13-
* Add a F# module.
14-
* Auto-install `use-package`.
15-
* Add `prelude-vertico` module. Vertico a simpler alternative to `ivy-mode` and supersedes Selectrum.
16-
* [#1421](https://github.com/bbatsov/prelude/issues/1421): Make it possible to configure the TypeScript format action using `prelude-ts-format-action`.
17-
* [#1354](https://github.com/bbatsov/prelude/issues/1354): Remove default `C--` and `C-+` keybindings to increase/decrease the font size.
7+
- Enable `org-habits`.
8+
- Neatly track `TODO` state changes in a drawer (LOGBOOK), thereby improving readability.
9+
- Add a module to enable Literate Programming (`prelude-literal-programming.el`).
10+
- Add a Racket module.
11+
- Add a Lua module.
12+
- Auto-install `racket-mode` if needed.
13+
- Add a F# module.
14+
- Auto-install `use-package`.
15+
- Add `prelude-vertico` module. Vertico a simpler alternative to `ivy-mode` and supersedes Selectrum.
16+
- [#1421](https://github.com/bbatsov/prelude/issues/1421): Make it possible to configure the TypeScript format action using `prelude-ts-format-action`.
17+
- [#1354](https://github.com/bbatsov/prelude/issues/1354): Remove default `C--` and `C-+` keybindings to increase/decrease the font size.
1818

1919
### Changes
2020

21-
* Bind all essential `avy` commands to their recommended keybindings.
22-
* Remove `company-lsp`.
23-
* Replace `yank-pop` key-binding to `counse-yank-pop` for `ivy-mode`.
24-
* The keybinding for `proced` is now enabled unconditionally.
25-
* Replace prelude-go backend with `lsp` instead of unmaintained tools.
26-
* Use `rust-analyzer` as language server for prelude-rust and provide nicer syntax highlighting with `tree-sitter`.
27-
* Use `js2-mode` for Node.js specific `.cjs` and `.mjs` extensions.
28-
* Add `prelude-undo-tree` custom variable: allows user disable
21+
- Bind all essential `avy` commands to their recommended keybindings.
22+
- Remove `company-lsp`.
23+
- Replace `yank-pop` key-binding to `counse-yank-pop` for `ivy-mode`.
24+
- The keybinding for `proced` is now enabled unconditionally.
25+
- Replace prelude-go backend with `lsp` instead of unmaintained tools.
26+
- Use `rust-analyzer` as language server for prelude-rust and provide nicer syntax highlighting with `tree-sitter`.
27+
- Use `js2-mode` for Node.js specific `.cjs` and `.mjs` extensions.
28+
- Add `prelude-undo-tree` custom variable: allows user disable
2929
undo-tree integration. Enabled by default to maintain backward-compatibility.
3030

3131
### Bugs fixed
3232

33-
* Fix `company` still being visible in the mode line.
34-
* [#1335](https://github.com/bbatsov/prelude/issues/1335): Workaround
33+
- Fix `company` still being visible in the mode line.
34+
- [#1335](https://github.com/bbatsov/prelude/issues/1335): Workaround
3535
for `which-key` bug causing display issues in clients to `emacs --daemon`.
36-
* Fix **Edit on GitHub** link in ReadTheDocs site.
37-
* Fix fall back to sample `prelude-modules.el` not working if user has installed to non-default location.
38-
* Stop requiring `helm-config` since upstream has removed the module.
39-
* Require `typescript-mode` using `prelude-require-packages` to avoid error upon inclusion in `personal/prelude-modules.el`.
40-
* Turn off `super-save` in `rust-mode` to prevent severe hangs during autocomplete.
41-
* Update `prelude-dart.el` to use `lsp-dart-dap-setup` instead of deprecated `dap-dart-setup` function.
36+
- Fix **Edit on GitHub** link in ReadTheDocs site.
37+
- Fix fall back to sample `prelude-modules.el` not working if user has installed to non-default location.
38+
- Stop requiring `helm-config` since upstream has removed the module.
39+
- Require `typescript-mode` using `prelude-require-packages` to avoid error upon inclusion in `personal/prelude-modules.el`.
40+
- Turn off `super-save` in `rust-mode` to prevent severe hangs during autocomplete.
41+
- Update `prelude-dart.el` to use `lsp-dart-dap-setup` instead of deprecated `dap-dart-setup` function.
4242

4343
## 1.1.0 (2021-02-14)
4444

4545
### New features
4646

47-
* Enable `nlinum-mode` or `display-line-numbers-mode` by default. Can be disabled by setting `prelude-minimalistic-ui` to `t`.
48-
* Enable site-wide installation for Prelude.
49-
* Auto-installs `julia-mode` if needed.
50-
* Auto-install `adoc-mode` for AsciiDoc files.
51-
* Add the `ag` package. It provides a nice alternative to `grep` and has nice Projectile integration.
52-
* Added additional configuration modules for WSL (`prelude-wsl`) and Windows (`prelude-windows`).
53-
* Add `prelude-selectrum` module. Selectrum a simpler alternative to `ivy-mode`.
47+
- Enable `nlinum-mode` or `display-line-numbers-mode` by default. Can be disabled by setting `prelude-minimalistic-ui` to `t`.
48+
- Enable site-wide installation for Prelude.
49+
- Auto-installs `julia-mode` if needed.
50+
- Auto-install `adoc-mode` for AsciiDoc files.
51+
- Add the `ag` package. It provides a nice alternative to `grep` and has nice Projectile integration.
52+
- Added additional configuration modules for WSL (`prelude-wsl`) and Windows (`prelude-windows`).
53+
- Add `prelude-selectrum` module. Selectrum a simpler alternative to `ivy-mode`.
5454

5555
### Changes
5656

57-
* [#1292](https://github.com/bbatsov/prelude/issues/1292): Add `prelude-python-mode-set-encoding-automatically` defcustom inn `prelude-python.el` module with nil default value.
58-
* [#1278](https://github.com/bbatsov/prelude/issues/1278): Don't disable `menu-bar-mode` unless `prelude-minimalistic-ui` is enabled.
59-
* [#1277](https://github.com/bbatsov/prelude/issues/1277): Make it possible to disable the creation of `Super`-based keybindings via `prelude-super-keybindings`.
60-
* Removed deprecated alias `prelude-ensure-module-deps`.
61-
* Remove `prelude-fullscreen`, as these days people can use `toggle-frame-fullscreen` instead. (it was introduced in Emacs 24.4)
62-
* Removed `beacon-mode`.
63-
* Added `transient/` to `.gitignore`.
64-
* Fallback to `sample/prelude-modules.el` in the absence of a `prelude-modules.el` in one's personal folder.
65-
* [Ruby] Don't auto-insert coding comments.
66-
* Hide (via `diminish`) `editorconfig-mode`, `super-save`, `company`, `abbrev` and `ivy` in the modeline.
67-
* Use `lsp-workspace-restart` function instead of deprecated `lsp-restart-workspace`.
68-
* Bind all online search commands under `C-c C-/` to avoid a conflict with `counsel-git` or `magit-file-dispatch`.
69-
* Bound `magit-file-mode` to `C-c g` (it's also bound to `C-c M-g` if you decide to utilize this keybinding for something else.
70-
* Added `.cache/` and `lsp-session*` to `.gitignore`. These are generated by `lsp`.
57+
- [#1292](https://github.com/bbatsov/prelude/issues/1292): Add `prelude-python-mode-set-encoding-automatically` defcustom inn `prelude-python.el` module with nil default value.
58+
- [#1278](https://github.com/bbatsov/prelude/issues/1278): Don't disable `menu-bar-mode` unless `prelude-minimalistic-ui` is enabled.
59+
- [#1277](https://github.com/bbatsov/prelude/issues/1277): Make it possible to disable the creation of `Super`-based keybindings via `prelude-super-keybindings`.
60+
- Removed deprecated alias `prelude-ensure-module-deps`.
61+
- Remove `prelude-fullscreen`, as these days people can use `toggle-frame-fullscreen` instead. (it was introduced in Emacs 24.4)
62+
- Removed `beacon-mode`.
63+
- Added `transient/` to `.gitignore`.
64+
- Fallback to `sample/prelude-modules.el` in the absence of a `prelude-modules.el` in one's personal folder.
65+
- [Ruby] Don't auto-insert coding comments.
66+
- Hide (via `diminish`) `editorconfig-mode`, `super-save`, `company`, `abbrev` and `ivy` in the modeline.
67+
- Use `lsp-workspace-restart` function instead of deprecated `lsp-restart-workspace`.
68+
- Bind all online search commands under `C-c C-/` to avoid a conflict with `counsel-git` or `magit-file-dispatch`.
69+
- Bound `magit-file-mode` to `C-c g` (it's also bound to `C-c M-g` if you decide to utilize this keybinding for something else.
70+
- Added `.cache/` and `lsp-session*` to `.gitignore`. These are generated by `lsp`.
7171

7272
### Bugs fixed
7373

74-
* [#1302](https://github.com/bbatsov/prelude/issues/1302): `C-a` should be bound to `org-beginning-of-line` in org-mode buffers.
74+
- [#1302](https://github.com/bbatsov/prelude/issues/1302): `C-a` should be bound to `org-beginning-of-line` in org-mode buffers.
7575

7676
## 1.0.0 (2020-09-15)
7777

CONTRIBUTING.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,23 @@ try to follow these guidelines when you do so.
77

88
## Issue reporting
99

10-
* Check that the [issue has not already been reported][2].
11-
* Check that the issue has not already been fixed in the latest code
10+
- Check that the [issue has not already been reported][2].
11+
- Check that the issue has not already been fixed in the latest code
1212
(a.k.a. `master`).
13-
* Be clear, concise and precise in your description of the problem.
14-
* Open an issue with a descriptive title and a summary in grammatically correct,
13+
- Be clear, concise and precise in your description of the problem.
14+
- Open an issue with a descriptive title and a summary in grammatically correct,
1515
complete sentences.
16-
* Include any relevant code to the issue summary.
16+
- Include any relevant code to the issue summary.
1717

1818
## Pull requests
1919

20-
* Read [how to properly contribute to open source projects on GitHub][3].
21-
* Use a topic branch to easily amend a pull request later, if necessary.
22-
* Write [good commit messages][4].
23-
* Update the [changelog][5].
24-
* Use the same coding conventions as the rest of the project.
25-
* Verify your Emacs Lisp code with `checkdoc` (<kbd>C-c ? d</kbd>).
26-
* Open a [pull request][6] that relates to *only* one subject with a clear title
20+
- Read [how to properly contribute to open source projects on GitHub][3].
21+
- Use a topic branch to easily amend a pull request later, if necessary.
22+
- Write [good commit messages][4].
23+
- Update the [changelog][5].
24+
- Use the same coding conventions as the rest of the project.
25+
- Verify your Emacs Lisp code with `checkdoc` (<kbd>C-c ? d</kbd>).
26+
- Open a [pull request][6] that relates to *only* one subject with a clear title
2727
and description in grammatically correct, complete sentences.
2828

2929
[1]: https://github.com/bbatsov/prelude/issues

README.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ You can support the development of Prelude via
2323

2424
## Features
2525

26-
* Improved UX, that's still in line with Emacs traditions
27-
* Sane defaults of baseline Emacs functionality
28-
* Automatic installation of many major programming modes on demand
29-
* A curated set of 3rd party packages to enhance the base functionality
30-
* Simple modular architecture
31-
* Easy customization
26+
- Improved UX, that's still in line with Emacs traditions
27+
- Sane defaults of baseline Emacs functionality
28+
- Automatic installation of many major programming modes on demand
29+
- A curated set of 3rd party packages to enhance the base functionality
30+
- Simple modular architecture
31+
- Easy customization
3232

3333
Check out our [user manual](https://prelude.emacsredux.com) for more information.
3434

@@ -40,7 +40,7 @@ can skip the whole manual and just type in your favorite shell the
4040
following command:
4141

4242
```shellsession
43-
$ curl -L https://git.io/epre | sh
43+
curl -L https://git.io/epre | sh
4444
```
4545

4646
You can now power up your Emacs, sit back and enjoy Prelude.
@@ -50,13 +50,13 @@ source repository and the installation directory. To change the
5050
installation directory:
5151

5252
```shellsession
53-
$ export PRELUDE_INSTALL_DIR="$HOME/.emacs.d" && curl -L https://github.com/bbatsov/prelude/raw/master/utils/installer.sh | sh
53+
export PRELUDE_INSTALL_DIR="$HOME/.emacs.d" && curl -L https://github.com/bbatsov/prelude/raw/master/utils/installer.sh | sh
5454
```
5555

5656
To change the source repository:
5757

5858
```shellsession
59-
$ export PRELUDE_URL="https://github.com/yourname/prelude.git" && curl -L https://github.com/bbatsov/prelude/raw/master/utils/installer.sh | sh
59+
export PRELUDE_URL="https://github.com/yourname/prelude.git" && curl -L https://github.com/bbatsov/prelude/raw/master/utils/installer.sh | sh
6060
```
6161

6262
Note that the installer will back up any existing `.emacs` file or
@@ -74,17 +74,17 @@ If you're using Emacs 29+ there's a simple way to try Prelude (or any other Emac
7474
Just clone Prelude's repo somewhere and do the following:
7575

7676
```shellsession
77-
$ emacs --init-dir ~/path/to/prelude
77+
emacs --init-dir ~/path/to/prelude
7878
```
7979

8080
## Philosophy
8181

8282
Prelude's philosophy is quite simple:
8383

84-
* simple
85-
* easy to understand and extend
86-
* stable
87-
* a foundation for you to build upon, as opposed to some end-user product
84+
- simple
85+
- easy to understand and extend
86+
- stable
87+
- a foundation for you to build upon, as opposed to some end-user product
8888

8989
This means that it intentionally doesn't pack all the bells and whistles that it could.
9090
Prelude aims to enhance the classic Emacs experience without deviating a lot from it - e.g.
@@ -96,11 +96,11 @@ to immediate adopt some shiny new package, that has established tried and true a
9696

9797
In practice this translates to the following:
9898

99-
* Prelude is less opinionated than distros like Spacemacs and Doom Emacs (meaning it's closer to the standard Emacs experience)
100-
* Prelude installs relatively few additional packages by default
101-
* Most modules in Prelude are opt-in instead of opt-out (you'll notice the default config enables only a handful of modules)
102-
* Most modules (e.g. modules for programming languages) are pretty short and feature setup only for essential packages (in some cases that be just the major mode for the language in question)
103-
* You don't really need to track Prelude's upstream - you're encouraged to just fork it and use it as the basis for your own configuration.
99+
- Prelude is less opinionated than distros like Spacemacs and Doom Emacs (meaning it's closer to the standard Emacs experience)
100+
- Prelude installs relatively few additional packages by default
101+
- Most modules in Prelude are opt-in instead of opt-out (you'll notice the default config enables only a handful of modules)
102+
- Most modules (e.g. modules for programming languages) are pretty short and feature setup only for essential packages (in some cases that be just the major mode for the language in question)
103+
- You don't really need to track Prelude's upstream - you're encouraged to just fork it and use it as the basis for your own configuration.
104104

105105
Remember that the ultimate goal of every Emacs user is to create an Emacs setup that reflects their own experience, needs, goals and ideas. Just like Lisp,
106106
Emacs is nothing but a raw building material for the perfect editing experience.
@@ -137,9 +137,9 @@ and send me a pull request. :-)
137137

138138
Support is available via several channels:
139139

140-
* Prelude's Google Group <emacs-prelude@googlegroups.com>
141-
* Prelude's Freenode channel (`#prelude-emacs`)
142-
* [Gitter](https://gitter.im/bbatsov/prelude)
140+
- Prelude's Google Group <emacs-prelude@googlegroups.com>
141+
- Prelude's Freenode channel (`#prelude-emacs`)
142+
- [Gitter](https://gitter.im/bbatsov/prelude)
143143

144144
## Contributors
145145

docs/configuration.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ Or you can use another theme altogether by adding something in `personal/preload
6262
```emacs-lisp
6363
(setq prelude-theme 'solarized-dark)
6464
```
65+
6566
in `personal/preload`.
6667

6768
Finally, if you don't want any theme at all, you can add this to your
@@ -78,10 +79,10 @@ personalization. There is no single special personal config file --
7879
any files you create in the `personal/` directory will be loaded in
7980
lexicographical order. The overall loading precedence is:
8081

81-
1. `personal/preload/*`
82-
2. `core/`
83-
3. `personal/prelude-modules.el` (or deprecated `prelude-modules.el`)
84-
4. `personal/*`
82+
1. `personal/preload/*`
83+
2. `core/`
84+
3. `personal/prelude-modules.el` (or deprecated `prelude-modules.el`)
85+
4. `personal/*`
8586

8687
### Personalization Example
8788

@@ -163,8 +164,8 @@ Currently this only affects automated formatting of Typescript files.
163164

164165
Out-of-the-box Prelude will create two versions of many keybindings in `prelude-mode`:
165166

166-
* One "traditional" version with a prefix like `Control`
167-
* One "alternative" version with a prefix like `Super`
167+
- One "traditional" version with a prefix like `Control`
168+
- One "alternative" version with a prefix like `Super`
168169

169170
The reason for this is that there are generally more options for short keybindings with `Super` - e.g. you can
170171
have `s-p`, `s-g`, etc. There's, however, a problem lying here as well - some operating systems and

docs/contributing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ You can install `MkDocs` locally and use the command `mkdocs serve` to
4141
see the result of changes you make to the manual locally:
4242

4343
```sh
44-
$ cd path/to/prelude/repo
45-
$ mkdocs serve
44+
cd path/to/prelude/repo
45+
mkdocs serve
4646
```
4747

4848
If you want to make changes to the manual's page structure you'll have to edit

docs/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Given how modular the structure of Prelude is, there's relatively little to be g
1919
I have a stripped-down version of Prelude for personal use, based on `use-package` [here](https://github.com/bbatsov/emacs.d).
2020
I guess it might be of interest to some of you.
2121

22-
**Update (2023): ** There are now plans to include `use-package` in Emacs 29, which will likely increase its prominence. Prelude 1.2 auto-installs `use-package` and newer Prelude modules might make use of `use-package`. `prelude-vertico` is one such example.
22+
**Update (2023):** There are now plans to include `use-package` in Emacs 29, which will likely increase its prominence. Prelude 1.2 auto-installs `use-package` and newer Prelude modules might make use of `use-package`. `prelude-vertico` is one such example.
2323

2424
## Why does Prelude use MELPA instead of MELPA Stable by default?
2525

0 commit comments

Comments
 (0)