Skip to content

How to customise float window? #9

Answered by stevearc
augustocdias asked this question in Q&A
Discussion options

You must be logged in to vote

There are three categories of floating windows that have config options. There's the "form" floats that open when you're launching or editing a task, the "confirm" float which only shows up when saving a task, and the "task_win" task output float that is opened from the "open float" action.

All of these are configured in the call to setup, and I believe the options you are looking for is to set winblend = 0 (see :help winblend) and winhighlight = "NormalFloat:MyCustomHighlight" (see :help winhighlight).

require("overseer").setup({
  form = {
    win_opts = {
      winblend = 0,
      winhighlight = "NormalFloat:MyCustomHighlight",
    },
  },
  confirm = {
    win_opts = {
      winblend = 0

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@augustocdias
Comment options

@stevearc
Comment options

@stevearc
Comment options

@augustocdias
Comment options

@stevearc
Comment options

Answer selected by augustocdias
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