Skip to content

How to use regular colorscheme in float-window agenda? #294

Answered by kristijanhusak
Maltimore asked this question in Q&A
Discussion options

You must be logged in to vote

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.
You can see how to change this in :help 'winhl'

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Maltimore
Comment options

Answer selected by Maltimore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants