How to use regular colorscheme in float-window agenda? #294
-
I'm using the new floating window agenda view. It works well, but the colorscheme is rather different: This also happens with a minimally changed |
Beta Was this translation helpful? Give feedback.
Answered by
kristijanhusak
May 12, 2022
Replies: 1 comment 1 reply
-
This should make it work: vim.api.nvim_create_autocmd('FileType', {
pattern = {'orgagenda', 'org'},
command = 'setlocal winhl=NormalFloat:Normal,FloatBorder:Normal'
}) This will use your regular background for both border and background color of the float window. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Maltimore
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This should make it work:
This will use your regular background for both border and background color of the float window.
You can see how to change this in
:help 'winhl'