Skip to content

Commit

Permalink
Updates to emacs syntax highlighting instructions (#1577)
Browse files Browse the repository at this point in the history
* Add highlight-numbers package requirement

* Update fuse-mode to futil-mode

* Clarify pure emacs vs spacemacs
  • Loading branch information
mrontio committed Jun 20, 2023
1 parent e0c6a0c commit 488117c
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions docs/tools/editor-highlighting.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,21 @@ And run:
`futil-mode` is implements highlighting for `.futil` files in emacs.
It is located in `<repo>/tools/emacs/futil-mode`.

The `highlight-numbers` package is required as part of `futil-mode`, install it:
```
M-x package-install RET highlight-numbers RET
```

Clone the repository, add the above path to your [load path][], and require
`futil-mode`.
If you use [Spacemacs][], this looks like adding the following lines to
`dotspacemacs/user-config` in your `.spacemacs` file:
`futil-mode` in your `.emacs` file:
```elisp
(push "~/.emacs.d/private/local/fuse-mode" load-path)
(require 'fuse-mode)
(push "~/.emacs.d/private/local/futil-mode" load-path)
(require 'futil-mode)
```
I imagine it looks very similar for pure emacs, but haven't actually tried it myself.

If you use [Spacemacs][], you would add this to `dotspacemacs/user-config`
in your `.spacemacs`.


## Visual Studio Code

Expand Down

0 comments on commit 488117c

Please sign in to comment.