Skip to content

Commit 9fde82b

Browse files
committed
docs: sync README and header comments
1 parent 65e5bbd commit 9fde82b

File tree

2 files changed

+20
-19
lines changed

2 files changed

+20
-19
lines changed

README.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ Install is easiest from MELPA, here's how with `use-package`.
1515
(use-package sdml-mode)
1616
```
1717

18-
Or, interactively.
19-
20-
M-x package-install RET sdml-mode RET
18+
Or, interactively; `M-x package-install RET sdml-mode RET`
2119

2220
### Install manually
2321

@@ -28,8 +26,6 @@ git clone https://github.com/sdm-lang/emacs-sdml-mode.git
2826
```
2927

3028
The following uses `use-package` but any equivalent package manager should work.
31-
The function `sdml-mode-setup` ensures the installation of the SDML parser with
32-
the core `tree-sitter` package.
3329

3430
```elisp
3531
(use-package sdml-mode
@@ -188,14 +184,17 @@ or the keyword `"forall"` replaced with the Unicode `∀`.
188184

189185
## Contributing
190186

191-
The packages in this repository should pass the standard package checks,
192-
including:
187+
This package includes an [Eldev](https://github.com/emacs-eldev/eldev) file and the following MUST be run before
188+
creating any PR.
193189

194-
* `byte-compile-file`
195-
* `package-lint`
196-
* `checkdoc`
190+
- `eldev lint`
191+
- `eldev doctor`
192+
- `eldev package --load-before-compiling --stop-on-failure --warnings-as-errors`
193+
- `eldev test`
194+
- `eldev test --undercover auto,coveralls,merge,dontsent -U simplecov.json`
195+
- `eldev release -nU 9.9.9`
197196

198-
Automated checks are done in the Github action workflow using Eldev.
197+
The script [eldev-check.sh](https://gist.github.com/johnstonskj/6af5ef6866bfb1288f4962a6ba3ef418) may be useful to you if you do not have your own Eldev workflow.
199198

200199
## License
201200

sdml-mode.el

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,18 @@
4545
;;
4646
;; Installing
4747
;;
48-
;; `(use-package sdml-mode
49-
;; :ensure t)'
48+
;; Install is easiest from MELPA, here's how with `use-package`.
49+
;;
50+
;; `(use-package sdml-mode)'
51+
;;
52+
;; Or, interactively; `M-x package-install RET sdml-ispell RET'
5053

5154
;;
5255
;; Usage
5356
;;
5457
;; Once installed the major mode should be used for any file ending in `.sdm'
5558
;; or `.sdml' with highlighting and indentation support.
5659

57-
;; Debug
58-
;;
59-
;; `\\[tree-sitter-debug-mode]' -- open tree-sitter debug view
60-
;; `\\[tree-sitter-query-builder]' -- open tree-sitter query builder
61-
6260
;; Abbreviations and Skeletons
6361
;;
6462
;; This package creates a new `abbrev-table', named `sdml-mode-abbrev-table', which
@@ -80,7 +78,6 @@
8078
;;
8179
;; Datatypes: db=boolean, dd=decimal, df=double, dh=binary, di=integer,
8280
;; sd=string, du=unsigned
83-
;;
8481

8582
;; Interactive Commands
8683
;;
@@ -102,6 +99,11 @@
10299
;; to display the dependencies of the current buffer's module as an SVG directed graph.
103100
;;
104101

102+
;; Debug
103+
;;
104+
;; `\\[tree-sitter-debug-mode]' -- open tree-sitter debug view
105+
;; `\\[tree-sitter-query-builder]' -- open tree-sitter query builder
106+
105107
;; Extensions
106108
;;
107109
;; `flycheck-sdml' -- Integrate the lisp-based linter with sdml-mode.

0 commit comments

Comments
 (0)