https://github.com/richardvenneman/trailingnewline.novaextension
🌌 Ensure a single newline at the end of your Nova documents.
https://github.com/richardvenneman/trailingnewline.novaextension
nova nova-editor nova-extension
Last synced: over 1 year ago
JSON representation
🌌 Ensure a single newline at the end of your Nova documents.
- Host: GitHub
- URL: https://github.com/richardvenneman/trailingnewline.novaextension
- Owner: richardvenneman
- License: mit
- Created: 2020-10-03T18:51:47.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2021-04-23T11:39:39.000Z (about 5 years ago)
- Last Synced: 2025-01-24T08:11:36.896Z (over 1 year ago)
- Topics: nova, nova-editor, nova-extension
- Language: JavaScript
- Homepage: https://extensions.panic.com/extensions/richard/richard.TrailingNewline/
- Size: 12.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Trailing Newline
An extension for [Nova](https://nova.app).
Ensure a single newline at the end of your documents. No more "No newline at end of file" in your Git diffs!
> ❗️ Heads up!
>
> Nova version 6 [introduced a preference](https://nova.app/releases/#v6) making this extension unnecessary.
> Enable **Ensure a trailing newline at the end of files** to ensure a newline at the end of files. Enjoy!
## Activation
This extension automatically ensures a newline before save by default (this can be disabled from the extension preferences)
Additionally, you can use the command from the command palette: `Ensure Trailing Newline`
Use a keyboard shortcut (default: option + command + t)