packer.nvim icon indicating copy to clipboard operation
packer.nvim copied to clipboard

Can't close window after installation finishes

Open aryzing opened this issue 3 years ago • 2 comments

  • nvim --version: NVIM v0.8.0-dev+70-g521e91e1c
  • git --version: git version 2.30.2
  • Operating system/version: Ubuntu 21.04
  • Terminal name/version: Alacritty

Steps to reproduce

Update packages with a command such as :PackerSync.

Actual behaviour

Packages update, but floating modal window looses focus.

ezgif-3-a75db11721

Expected behaviour

Modal window should retain focus after the update copletes so it can be closed.

packer files

Plugin specification file(s)
-- Packer. Auto install if not already installed
local fn = vim.fn
local packer_bootstrap = nil
local install_path = fn.stdpath("data") .. "/site/pack/packer/start/packer.nvim"
if fn.empty(fn.glob(install_path)) > 0 then
	packer_bootstrap = fn.system({
		"git",
		"clone",
		"--depth",
		"1",
		"https://github.com/wbthomason/packer.nvim",
		install_path,
	})
end

-- Packer. Run PackerSync (install + compile plugins) when this file is modified.
vim.cmd([[
  augroup packer_user_config
    autocmd!
    autocmd BufWritePost 03_plugins.lua source <afile> | PackerSync
  augroup end
]])

-- Packer. Load plugins if packer installed
local exists, packer = pcall(require, "packer")
if not exists then
	print("Failed to require `packer`.")
	return
end
return packer.startup({
	function(use)
		-- Packer can manage itself
		use("wbthomason/packer.nvim")

		use("kburdett/vim-nuuid")
		use("simrat39/rust-tools.nvim")

		-- Colorschemes
		use("projekt0n/github-nvim-theme")

		-- Completion
		use("hrsh7th/nvim-cmp")
		use("hrsh7th/cmp-buffer")
		use("hrsh7th/cmp-path")
		use("hrsh7th/cmp-cmdline")
		use("hrsh7th/cmp-nvim-lsp")
		use("hrsh7th/cmp-nvim-lua")
		use("saadparwaiz1/cmp_luasnip")

		-- Snippets
		use("L3MON4D3/LuaSnip")

		-- LSP
		use("neovim/nvim-lspconfig")
		use("williamboman/nvim-lsp-installer")
		-- use("tamago324/nlsp-settings.nvim")
		use("b0o/schemastore.nvim")

		-- Telescope
		use({
			"nvim-telescope/telescope.nvim",
			requires = { { "nvim-lua/plenary.nvim" } },
		})

		-- TreeSitter
		use({
			"nvim-treesitter/nvim-treesitter",
			run = ":TSUpdate",
		})

		-- Autopairs
		use("windwp/nvim-autopairs") -- Autopairs, integrates with both cmp and treesitter
		use("windwp/nvim-ts-autotag")

		-- Comments
		use("JoosepAlviste/nvim-ts-context-commentstring")
		use({
			"numToStr/Comment.nvim",
			config = function()
				require("Comment").setup()
			end,
		})

		-- git
		use({
			"lewis6991/gitsigns.nvim",
			requires = {
				"nvim-lua/plenary.nvim",
			},
		})

		-- File explorer
		use({
			"kyazdani42/nvim-tree.lua",
			requires = {
				"kyazdani42/nvim-web-devicons", -- optional, for file icon
			},
			config = function()
				require("nvim-tree").setup({
					actions = {
						open_file = {
							resize_window = true,
						},
					},
				})
			end,
		})

		-- null-ls
		use({
			"jose-elias-alvarez/null-ls.nvim",
			requires = {
				"nvim-lua/plenary.nvim",
			},
		})

		-- Lua line
		use({
			"nvim-lualine/lualine.nvim",
			requires = { "kyazdani42/nvim-web-devicons", opt = true },
		})

		-- Trouble
		use({ "folke/trouble.nvim", requires = "kyazdani42/nvim-web-devicons" })

		-- Automatically set up your configuration after cloning packer.nvim
		-- Put this at the end after all plugins
		if packer_bootstrap then
			require("packer").sync()
		end
	end,
	config = {
		display = {
			open_fn = require("packer.util").float,
		},
	},
})
packer log file
[WARN  Mon 27 Dec 2021 12:54:45 EET 16341251424043] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Tue 28 Dec 2021 01:34:56 EET 1884551602306] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Tue 28 Dec 2021 12:55:19 EET 14105373671459] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Tue 28 Dec 2021 12:55:23 EET 14108959780793] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Tue 28 Dec 2021 12:55:29 EET 14114780168226] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Tue 28 Dec 2021 12:55:29 EET 14115064549547] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Tue 28 Dec 2021 12:55:29 EET 14115222835269] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Tue 28 Dec 2021 12:56:16 EET 14161873284831] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Tue 28 Dec 2021 12:57:38 EET 14244661831087] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:646: Plugin not available!
[WARN  Tue 28 Dec 2021 12:57:39 EET 14244846304440] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:646: Plugin not available!
[WARN  Thu 30 Dec 2021 21:10:07 EET 4466574974434] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Fri 14 Jan 2022 14:05:13 EET 13725114331091] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:552: Potential breaking change in commit 095ab4e of williamboman/nvim-lsp-installer
[WARN  Sat 15 Jan 2022 22:28:03 EET 2449695257054] ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:744: You must run PackerCompile with profiling enabled first e.g. PackerCompile profile=true
[WARN  Sat 15 Jan 2022 22:28:19 EET 2466012510931] ...e/nvim/site/pack/packer/start/packer.nvim/lua/packer.lua:744: You must run PackerCompile with profiling enabled first e.g. PackerCompile profile=true
[WARN  Wed 19 Jan 2022 20:45:50 EET 36858705722689] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:552: Potential breaking change in commit c80715f of nvim-treesitter/nvim-treesitter
[WARN  Wed 19 Jan 2022 20:46:04 EET 36872338584394] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Wed 19 Jan 2022 20:46:04 EET 36872366290778] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Wed 26 Jan 2022 10:11:05 EET 18675074749316] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:552: Potential breaking change in commit 58e5d6d of lewis6991/gitsigns.nvim
[WARN  Wed 02 Feb 2022 23:46:50 EET 45708838782952] .../site/pack/packer/start/packer.nvim/lua/packer/clean.lua:79: Cleaning cancelled!
[WARN  Wed 09 Feb 2022 21:51:48 EET 47214646185993] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:552: Potential breaking change in commit a80c8bc of nvim-treesitter/nvim-treesitter
[WARN  Wed 09 Feb 2022 21:51:48 EET 47214646966172] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:552: Potential breaking change in commit 8c4fd51 of kyazdani42/nvim-tree.lua
[WARN  Wed 09 Feb 2022 21:51:59 EET 47225843247663] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Wed 09 Feb 2022 21:51:59 EET 47225850241169] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Wed 09 Feb 2022 21:51:59 EET 47225867171189] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Wed 09 Feb 2022 21:51:59 EET 47225882835224] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Wed 09 Feb 2022 21:51:59 EET 47225899423214] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Wed 09 Feb 2022 21:51:59 EET 47225915951984] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Wed 09 Feb 2022 21:51:59 EET 47225933028014] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Wed 09 Feb 2022 21:51:59 EET 47225949271869] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Wed 09 Feb 2022 21:51:59 EET 47225966528783] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Wed 09 Feb 2022 21:51:59 EET 47225982887640] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Wed 09 Feb 2022 21:51:59 EET 47225999481961] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Wed 09 Feb 2022 21:51:59 EET 47226016177830] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Wed 09 Feb 2022 21:51:59 EET 47226032726788] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Wed 09 Feb 2022 21:51:59 EET 47226049539783] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Wed 09 Feb 2022 21:51:59 EET 47226065941359] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Wed 09 Feb 2022 21:51:59 EET 47226082646013] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Wed 09 Feb 2022 21:51:59 EET 47226099268457] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Wed 09 Feb 2022 21:51:59 EET 47226116070191] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Wed 09 Feb 2022 21:51:59 EET 47226133548684] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Wed 09 Feb 2022 21:51:59 EET 47226149854703] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Wed 09 Feb 2022 21:51:59 EET 47226166481785] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Wed 09 Feb 2022 21:51:59 EET 47226183958475] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:612: No plugin selected!
[WARN  Wed 09 Feb 2022 21:52:34 EET 47260433966064] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:552: Potential breaking change in commit a80c8bc of nvim-treesitter/nvim-treesitter
[WARN  Wed 09 Feb 2022 21:52:34 EET 47260434078141] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:552: Potential breaking change in commit 8c4fd51 of kyazdani42/nvim-tree.lua
[WARN  Fri 11 Feb 2022 19:12:16 EET 35717790419143] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:566: Potential breaking change in commit cd9a9b0 of williamboman/nvim-lsp-installer
[WARN  Sat 12 Feb 2022 01:04:58 EET 56879628632801] .../site/pack/packer/start/packer.nvim/lua/packer/clean.lua:79: Cleaning cancelled!
[WARN  Wed 02 Mar 2022 06:59:01 EET 294904660581] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:566: Potential breaking change in commit 0e7856f of kyazdani42/nvim-tree.lua
[WARN  Thu 17 Mar 2022 22:33:33 EET 49272432724730] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:566: Potential breaking change in commit 48a79b7 of L3MON4D3/LuaSnip
[WARN  Thu 17 Mar 2022 22:33:33 EET 49272434358356] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:566: Potential breaking change in commit 715c554 of projekt0n/github-nvim-theme
[WARN  Sat 26 Mar 2022 20:38:04 EET 32646192085478] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:566: Potential breaking change in commit 7cc44a4 of L3MON4D3/LuaSnip
[WARN  Wed 30 Mar 2022 21:15:32 EEST 36945880698182] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:566: Potential breaking change in commit aeea587 of L3MON4D3/LuaSnip
[WARN  Sun 10 Apr 2022 14:32:31 EEST 11280822755318] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:566: Potential breaking change in commit acd0155 of nvim-treesitter/nvim-treesitter
[WARN  Thu 14 Apr 2022 21:57:05 EEST 39922866536625] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:566: Potential breaking change in commit 385580e of nvim-lualine/lualine.nvim
[WARN  Thu 14 Apr 2022 21:57:05 EEST 39922867408392] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:566: Potential breaking change in commit b5433f9 of hrsh7th/nvim-cmp
[WARN  Thu 14 Apr 2022 21:57:05 EEST 39922867509242] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:566: Potential breaking change in commit fae808a of hrsh7th/nvim-cmp
[WARN  Mon 18 Apr 2022 23:50:31 EEST 45834949444082] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:566: Potential breaking change in commit f9df984 of numToStr/Comment.nvim
[WARN  Wed 27 Apr 2022 22:59:03 EEST 52244989916951] ...ite/pack/packer/start/packer.nvim/lua/packer/display.lua:566: Potential breaking change in commit 090c8a8 of williamboman/nvim-lsp-installer
packer compiled file
-- Automatically generated packer.nvim plugin loader code

if vim.api.nvim_call_function('has', {'nvim-0.5'}) ~= 1 then
  vim.api.nvim_command('echohl WarningMsg | echom "Invalid Neovim version for packer.nvim! | echohl None"')
  return
end

vim.api.nvim_command('packadd packer.nvim')

local no_errors, error_msg = pcall(function()

  local time
  local profile_info
  local should_profile = false
  if should_profile then
    local hrtime = vim.loop.hrtime
    profile_info = {}
    time = function(chunk, start)
      if start then
        profile_info[chunk] = hrtime()
      else
        profile_info[chunk] = (hrtime() - profile_info[chunk]) / 1e6
      end
    end
  else
    time = function(chunk, start) end
  end
  
local function save_profiles(threshold)
  local sorted_times = {}
  for chunk_name, time_taken in pairs(profile_info) do
    sorted_times[#sorted_times + 1] = {chunk_name, time_taken}
  end
  table.sort(sorted_times, function(a, b) return a[2] > b[2] end)
  local results = {}
  for i, elem in ipairs(sorted_times) do
    if not threshold or threshold and elem[2] > threshold then
      results[i] = elem[1] .. ' took ' .. elem[2] .. 'ms'
    end
  end

  _G._packer = _G._packer or {}
  _G._packer.profile_output = results
end

time([[Luarocks path setup]], true)
local package_path_str = "/home/aryzing/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/home/aryzing/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/home/aryzing/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/home/aryzing/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua"
local install_cpath_pattern = "/home/aryzing/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so"
if not string.find(package.path, package_path_str, 1, true) then
  package.path = package.path .. ';' .. package_path_str
end

if not string.find(package.cpath, install_cpath_pattern, 1, true) then
  package.cpath = package.cpath .. ';' .. install_cpath_pattern
end

time([[Luarocks path setup]], false)
time([[try_loadstring definition]], true)
local function try_loadstring(s, component, name)
  local success, result = pcall(loadstring(s), name, _G.packer_plugins[name])
  if not success then
    vim.schedule(function()
      vim.api.nvim_notify('packer.nvim: Error running ' .. component .. ' for ' .. name .. ': ' .. result, vim.log.levels.ERROR, {})
    end)
  end
  return result
end

time([[try_loadstring definition]], false)
time([[Defining packer_plugins]], true)
_G.packer_plugins = {
  ["Comment.nvim"] = {
    config = { "\27LJ\2\n5\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\fComment\frequire\0" },
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/Comment.nvim",
    url = "https://github.com/numToStr/Comment.nvim"
  },
  LuaSnip = {
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/LuaSnip",
    url = "https://github.com/L3MON4D3/LuaSnip"
  },
  ["cmp-buffer"] = {
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/cmp-buffer",
    url = "https://github.com/hrsh7th/cmp-buffer"
  },
  ["cmp-cmdline"] = {
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/cmp-cmdline",
    url = "https://github.com/hrsh7th/cmp-cmdline"
  },
  ["cmp-nvim-lsp"] = {
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/cmp-nvim-lsp",
    url = "https://github.com/hrsh7th/cmp-nvim-lsp"
  },
  ["cmp-nvim-lua"] = {
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/cmp-nvim-lua",
    url = "https://github.com/hrsh7th/cmp-nvim-lua"
  },
  ["cmp-path"] = {
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/cmp-path",
    url = "https://github.com/hrsh7th/cmp-path"
  },
  cmp_luasnip = {
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/cmp_luasnip",
    url = "https://github.com/saadparwaiz1/cmp_luasnip"
  },
  ["github-nvim-theme"] = {
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/github-nvim-theme",
    url = "https://github.com/projekt0n/github-nvim-theme"
  },
  ["gitsigns.nvim"] = {
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/gitsigns.nvim",
    url = "https://github.com/lewis6991/gitsigns.nvim"
  },
  ["lualine.nvim"] = {
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/lualine.nvim",
    url = "https://github.com/nvim-lualine/lualine.nvim"
  },
  ["null-ls.nvim"] = {
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/null-ls.nvim",
    url = "https://github.com/jose-elias-alvarez/null-ls.nvim"
  },
  ["nvim-autopairs"] = {
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/nvim-autopairs",
    url = "https://github.com/windwp/nvim-autopairs"
  },
  ["nvim-cmp"] = {
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/nvim-cmp",
    url = "https://github.com/hrsh7th/nvim-cmp"
  },
  ["nvim-lsp-installer"] = {
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/nvim-lsp-installer",
    url = "https://github.com/williamboman/nvim-lsp-installer"
  },
  ["nvim-lspconfig"] = {
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/nvim-lspconfig",
    url = "https://github.com/neovim/nvim-lspconfig"
  },
  ["nvim-tree.lua"] = {
    config = { "\27LJ\2\nu\0\0\5\0\b\0\v6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\6\0005\3\4\0005\4\3\0=\4\5\3=\3\a\2B\0\2\1K\0\1\0\factions\1\0\0\14open_file\1\0\0\1\0\1\18resize_window\2\nsetup\14nvim-tree\frequire\0" },
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/nvim-tree.lua",
    url = "https://github.com/kyazdani42/nvim-tree.lua"
  },
  ["nvim-treesitter"] = {
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/nvim-treesitter",
    url = "https://github.com/nvim-treesitter/nvim-treesitter"
  },
  ["nvim-ts-autotag"] = {
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/nvim-ts-autotag",
    url = "https://github.com/windwp/nvim-ts-autotag"
  },
  ["nvim-ts-context-commentstring"] = {
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/nvim-ts-context-commentstring",
    url = "https://github.com/JoosepAlviste/nvim-ts-context-commentstring"
  },
  ["nvim-web-devicons"] = {
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/nvim-web-devicons",
    url = "https://github.com/kyazdani42/nvim-web-devicons"
  },
  ["packer.nvim"] = {
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/packer.nvim",
    url = "https://github.com/wbthomason/packer.nvim"
  },
  ["plenary.nvim"] = {
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/plenary.nvim",
    url = "https://github.com/nvim-lua/plenary.nvim"
  },
  ["rust-tools.nvim"] = {
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/rust-tools.nvim",
    url = "https://github.com/simrat39/rust-tools.nvim"
  },
  ["schemastore.nvim"] = {
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/schemastore.nvim",
    url = "https://github.com/b0o/schemastore.nvim"
  },
  ["telescope.nvim"] = {
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/telescope.nvim",
    url = "https://github.com/nvim-telescope/telescope.nvim"
  },
  ["trouble.nvim"] = {
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/trouble.nvim",
    url = "https://github.com/folke/trouble.nvim"
  },
  ["vim-nuuid"] = {
    loaded = true,
    path = "/home/aryzing/.local/share/nvim/site/pack/packer/start/vim-nuuid",
    url = "https://github.com/kburdett/vim-nuuid"
  }
}

time([[Defining packer_plugins]], false)
-- Config for: Comment.nvim
time([[Config for Comment.nvim]], true)
try_loadstring("\27LJ\2\n5\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\fComment\frequire\0", "config", "Comment.nvim")
time([[Config for Comment.nvim]], false)
-- Config for: nvim-tree.lua
time([[Config for nvim-tree.lua]], true)
try_loadstring("\27LJ\2\nu\0\0\5\0\b\0\v6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\6\0005\3\4\0005\4\3\0=\4\5\3=\3\a\2B\0\2\1K\0\1\0\factions\1\0\0\14open_file\1\0\0\1\0\1\18resize_window\2\nsetup\14nvim-tree\frequire\0", "config", "nvim-tree.lua")
time([[Config for nvim-tree.lua]], false)
if should_profile then save_profiles() end

end)

if not no_errors then
  error_msg = error_msg:gsub('"', '\\"')
  vim.api.nvim_command('echohl ErrorMsg | echom "Error in packer_compiled: '..error_msg..'" | echom "Please check your config for correctness" | echohl None')
end

aryzing avatar Apr 28 '22 15:04 aryzing

i can't reproduce the issue on the latest packer version on my nvim config can you provide a minimal setup to reproduce the issue ?

danielnehrig avatar May 06 '22 11:05 danielnehrig

I don't have it narrowed down but it looks like it doesn't switch windows on the first run (not initial install but first run when executing commands).

If you execute <C-W><C-W> then you can switch between windows until you are on the floating window. Since it is floating you can't seem to use the directional keys (makes sense to me).

If you switch to the floating window and close it and then re-run the command it seems to remember that and place the cursor on the floating window like expected.

boring10 avatar May 08 '22 14:05 boring10