stevearc / dressing.nvim

Neovim plugin to improve the default vim.ui interfaces
MIT License
1.69k stars 32 forks source link

Opening ToggleTerm from ui.select doesn't start in insert mode (which is set in toggleterm beforehand) #110

Closed TroySigX closed 11 months ago

TroySigX commented 11 months ago

Descripttion After 39611852fd7bbac117e939a26759bb37361f0c90, the issues still persists.

System information

require('dressing').setup({
  select = {
    backend = { 'fzf_lua' },
  },
})

To Reproduce Steps to reproduce the behavior:

  1. Setup ToggleTerm using this config:
    require('toggleterm').setup({
    direction = 'float',
    float_opts = {
      border = 'curved',
      width = 110,
      height = 35,
      winblend = 17,
    },
    persist_mode = false,
    })
  2. :TermSelect
  3. ToggleTerm opens without insert mode