Skip to content

richardvenneman/TrailingNewline.novaextension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Trailing Newline

An extension for Nova.

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 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)

Releases

No releases published