t9md / atom-vim-mode-plus

vim-mode improved
https://atom.io/packages/vim-mode-plus
MIT License
1.4k stars 111 forks source link

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

Open b1f6c1c4 opened 4 years ago

b1f6c1c4 commented 4 years ago

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 commented 4 years ago

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