mirror of
https://github.com/joshdick/onedark.vim.git
synced 2025-11-13 13:33:49 -05:00
Tweak and document g:onedark_hide_endofbuffer
This commit is contained in:
@@ -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`.
|
**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_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).
|
* `g:onedark_terminal_italics`: Set to `1` if your terminal emulator supports italics; `0` otherwise (the default).
|
||||||
|
|||||||
@@ -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
|
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 get(g:, 'onedark_hide_endofbuffer', 0)
|
||||||
" If enabled, will style end-of-buffer filler lines (~) to appear to be hidden.
|
" 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
|
endif
|
||||||
call s:h("ErrorMsg", { "fg": s:red }) " error messages on the command line
|
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
|
call s:h("VertSplit", { "fg": s:vertsplit }) " the column separating vertically split windows
|
||||||
|
|||||||
Reference in New Issue
Block a user