An open API service indexing awesome lists of open source software.

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.

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)