Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a helper package: no-evil-eol-newline #1141

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

b1f6c1c4
Copy link

I'm selling my atom package no-evil-eol-newline (also on GitHub.) Introduction is copied here.

Suppress display of end-of-file newlines as blank lines.
A temporal fix for Atom issue 7787.
More precisely,

  • If a file ends with a \n, then the line number of the 'new line' is hidden (by css), just like what vim does.
  • If a file doesn't end with a \n, then the line number is shown in a bright color, indicating a missing \n.
  • Files that use \r\n as EOL simply work perfectly.

Attention:
This package only deals with how things appear: it never modify any bit of your file content. Thus, this package:

  • Is compatible with whitespace, editorconfig, and other packages.
  • Works consistently on Linux, macOS, and Windows.

BTW, I'm wondering if I should add it to ListOfVimModePlusPlugins and DifferencesFromPureVim.

@b1f6c1c4
Copy link
Author

Edit: I added it to ListOfVimModePlusPlugins and DifferencesFromPureVim. Still waiting for README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant