diff --git a/README.md b/README.md index 1f992ea..43dae2f 100644 --- a/README.md +++ b/README.md @@ -162,7 +162,7 @@ For example, to remove the background color only when running in terminals (outs " `gui` is the hex color code used in GUI mode/nvim true-color mode " `cterm` is the color code used in 256-color mode " `cterm16` is the color code used in 16-color mode -if (has("autocmd") && !has("gui")) +if (has("autocmd") && !has("gui_running")) let s:white = { "gui": "#ABB2BF", "cterm": "145", "cterm16" : "7" } autocmd ColorScheme * call onedark#set_highlight("Normal", { "fg": s:white }) " No `bg` setting end