https://github.com/zk-phi/show-eof-mode
[Emacs] Minor mode to show [EOF] indicator
https://github.com/zk-phi/show-eof-mode
emacs
Last synced: about 2 months ago
JSON representation
[Emacs] Minor mode to show [EOF] indicator
- Host: GitHub
- URL: https://github.com/zk-phi/show-eof-mode
- Owner: zk-phi
- Created: 2022-04-17T12:09:30.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-20T14:34:47.000Z (almost 2 years ago)
- Last Synced: 2025-10-08T11:44:16.687Z (7 months ago)
- Topics: emacs
- Language: Emacs Lisp
- Homepage:
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.markdown
Awesome Lists containing this project
README
# show-eof-mode
Minor mode to show `[EOF]` marker.

## Usage
Just load and enable `show-eof-mode`. Setting hooks may be useful.
```emacs-lisp
(require 'show-eof-mode)
(add-hook 'prog-mode-hook 'show-eof-mode)
(add-hook 'text-mode-hook 'show-eof-mode)
```
## Customization
- `show-eof-marker-string` ... string to mark EOF (default: `[EOF]`)
- `show-eof-marker-face` ... face to fontify EOF markers