diff --git a/README.md b/README.md index 0f21515..1100132 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,8 @@ A dark Vim/Neovim color scheme for the GUI and 16/256/true-color terminals, base **Note:** All options should be set **before** the `colorscheme onedark` line in your `~/.vimrc`. +* `g:onedark_hide_endofbuffer`: Set to `1` if you want to hide end-of-buffer filler lines (~) for a cleaner look; `0` otherwise (the default). + * `g:onedark_termcolors` **(see [Troubleshooting](#troubleshooting) (below) for more information about this option)**: Set to `256` for 256-color terminals (the default), or set to `16` to use your terminal emulator's native 16 colors. * `g:onedark_terminal_italics`: Set to `1` if your terminal emulator supports italics; `0` otherwise (the default). diff --git a/colors/onedark.vim b/colors/onedark.vim index adfd3cc..c233b44 100644 --- a/colors/onedark.vim +++ b/colors/onedark.vim @@ -223,7 +223,7 @@ call s:h("DiffDelete", { "bg": s:red, "fg": s:black }) " diff mode: Deleted line call s:h("DiffText", { "bg": s:yellow, "fg": s:black }) " diff mode: Changed text within a changed line if get(g:, 'onedark_hide_endofbuffer', 0) " If enabled, will style end-of-buffer filler lines (~) to appear to be hidden. - call s:h("EndOfBuffer", { "fg": s:black, "bg": s:black }) " filler lines (~) after the last line in the buffer + call s:h("EndOfBuffer", { "fg": s:black }) " filler lines (~) after the last line in the buffer endif call s:h("ErrorMsg", { "fg": s:red }) " error messages on the command line call s:h("VertSplit", { "fg": s:vertsplit }) " the column separating vertically split windows