Skip to content

Can't put floating option to the right. #1765

Answered by alex-courtis
fnacarellidev asked this question in Q&A
Discussion options

You must be logged in to vote
require("nvim-tree").setup {
  view = {
    side = "right",
    float = {
      enable = true,
      quit_on_focus_loss = false,
    },
  },
}

view.side does not apply to floating windows. You can set all your floating window parameters via view.float.

See :help nvim_open_win for all the options. anchor might be the one you are looking for.

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
2 replies
@fnacarellidev
Comment options

@alex-courtis
Comment options

Answer selected by fnacarellidev
Comment options

You must be logged in to vote
5 replies
@alex-courtis
Comment options

@lleger
Comment options

@alex-courtis
Comment options

@kryzar
Comment options

@di3italis
Comment options

Comment options

You must be logged in to vote
1 reply
@alex-courtis
Comment options

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