wbthomason / packer.nvim

A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
MIT License
7.82k stars 266 forks source link

<F18> or shift F6 is sent as plain F6 #722

Closed saecki closed 2 years ago

saecki commented 2 years ago

Features: +acl +iconv +tui See ":help feature-compile"

system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info

- `git --version`: `git version 2.33.1`
- Operating system/version:

LSB Version: :core-4.1-amd64:core-4.1-noarch Distributor ID: Fedora Description: Fedora release 35 (Thirty Five) Release: 35 Codename: ThirtyFive

- Terminal name/version: `alacritty 0.9.0`

I have nvim-tree configured to lazy load if I press `F6` or to jump directly to the file i have open when i press `shift+F6`.
Once the plugin is loaded these key mappings work as expected. Only when the plugin is loaded initially by pressing `shift+F6`,
the `shift` is ignored and it only opens nvim-tree instead of jumping to the file that is currently open.

When I only put `<f18>` in the plugin declaration keys, `<f6>` won't load the plugin, so packer reads these as 
different keys, but somehow only passes `<f6>` once the plugin was loaded.

### Steps to reproduce
1. Open neovim
2. Press `<f18>` (`shift+F6`)

### Actual behaviour
`<f6>` key is sent to nvim

### Expected behaviour
`<f18>` key is sent to nvim

### packer files

<details>
<summary>Plugin specification file(s)</summary>

plugins.lua
```lua
        use {
            'kyazdani42/nvim-tree.lua',
            keys = { "<f6>", "<f18>" },
            config = function()
                require('config.nvim-tree').setup()
            end,
        }

config/nvim-tree.lua

local M = {}

function M.setup()
    require('nvim-tree').nvim_tree.setup {}

    vim.api.nvim_set_keymap("n", "<f6>", ":NvimTreeToggle<cr>")
    vim.api.nvim_set_keymap("n", "<f18>", ":NvimTreeFindFile<cr>")
end

return M

packer log file `empty`
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/tobi/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/home/tobi/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/home/tobi/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/home/tobi/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua" local install_cpath_pattern = "/home/tobi/.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/tobi/.local/share/nvim/site/pack/packer/start/Comment.nvim", url = "https://github.com/numToStr/Comment.nvim" }, LuaSnip = { config = { "\27LJ\2\n<\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\19config.luasnip\frequire\0" }, loaded = true, path = "/home/tobi/.local/share/nvim/site/pack/packer/start/LuaSnip", url = "https://github.com/L3MON4D3/LuaSnip" }, ["cmp-buffer"] = { loaded = true, path = "/home/tobi/.local/share/nvim/site/pack/packer/start/cmp-buffer", url = "https://github.com/hrsh7th/cmp-buffer" }, ["cmp-nvim-lsp"] = { loaded = true, path = "/home/tobi/.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/tobi/.local/share/nvim/site/pack/packer/start/cmp-nvim-lua", url = "https://github.com/hrsh7th/cmp-nvim-lua" }, ["cmp-path"] = { loaded = true, path = "/home/tobi/.local/share/nvim/site/pack/packer/start/cmp-path", url = "https://github.com/hrsh7th/cmp-path" }, cmp_luasnip = { loaded = true, path = "/home/tobi/.local/share/nvim/site/pack/packer/start/cmp_luasnip", url = "https://github.com/saadparwaiz1/cmp_luasnip" }, ["crates.nvim"] = { config = { "\27LJ\2\n;\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\18config.crates\frequire\0" }, loaded = true, path = "/home/tobi/.local/share/nvim/site/pack/packer/start/crates.nvim", url = "/home/tobi/Projects/crates.nvim" }, firenvim = { config = { "\27LJ\2\n=\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\20config.firenvim\frequire\0" }, loaded = true, path = "/home/tobi/.local/share/nvim/site/pack/packer/start/firenvim", url = "https://github.com/glacambre/firenvim" }, ["gitsigns.nvim"] = { config = { "\27LJ\2\n=\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\20config.gitsigns\frequire\0" }, loaded = true, path = "/home/tobi/.local/share/nvim/site/pack/packer/start/gitsigns.nvim", url = "https://github.com/lewis6991/gitsigns.nvim" }, harpoon = { config = { "\27LJ\2\n<\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\19config.harpoon\frequire\0" }, loaded = true, path = "/home/tobi/.local/share/nvim/site/pack/packer/start/harpoon", url = "https://github.com/ThePrimeagen/harpoon" }, ["impatient.nvim"] = { loaded = true, path = "/home/tobi/.local/share/nvim/site/pack/packer/start/impatient.nvim", url = "https://github.com/lewis6991/impatient.nvim" }, ["lsp-status.nvim"] = { loaded = true, path = "/home/tobi/.local/share/nvim/site/pack/packer/start/lsp-status.nvim", url = "https://github.com/nvim-lua/lsp-status.nvim" }, ["lsp_extensions.nvim"] = { loaded = true, path = "/home/tobi/.local/share/nvim/site/pack/packer/start/lsp_extensions.nvim", url = "https://github.com/nvim-lua/lsp_extensions.nvim" }, ["lualine.nvim"] = { config = { "\27LJ\2\n<\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\19config.lualine\frequire\0" }, loaded = true, path = "/home/tobi/.local/share/nvim/site/pack/packer/start/lualine.nvim", url = "https://github.com/hoob3rt/lualine.nvim" }, ["markdown-preview.nvim"] = { loaded = false, needs_bufread = false, only_cond = false, path = "/home/tobi/.local/share/nvim/site/pack/packer/opt/markdown-preview.nvim", url = "https://github.com/iamcco/markdown-preview.nvim" }, ["nvim-cmp"] = { config = { "\27LJ\2\n8\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\15config.cmp\frequire\0" }, loaded = true, path = "/home/tobi/.local/share/nvim/site/pack/packer/start/nvim-cmp", url = "https://github.com/hrsh7th/nvim-cmp" }, ["nvim-dap"] = { after = { "nvim-dap-ui" }, loaded = true, only_config = true }, ["nvim-dap-ui"] = { config = { "\27LJ\2\n;\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\18config.dap.ui\frequire\0" }, load_after = {}, loaded = true, needs_bufread = false, path = "/home/tobi/.local/share/nvim/site/pack/packer/opt/nvim-dap-ui", url = "https://github.com/rcarriga/nvim-dap-ui" }, ["nvim-lsp-installer"] = { loaded = true, path = "/home/tobi/.local/share/nvim/site/pack/packer/start/nvim-lsp-installer", url = "https://github.com/williamboman/nvim-lsp-installer" }, ["nvim-lspconfig"] = { config = { "\27LJ\2\n8\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\15config.lsp\frequire\0" }, loaded = true, path = "/home/tobi/.local/share/nvim/site/pack/packer/start/nvim-lspconfig", url = "https://github.com/neovim/nvim-lspconfig" }, ["nvim-notify"] = { config = { "\27LJ\2\n;\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\18config.notify\frequire\0" }, loaded = true, path = "/home/tobi/.local/share/nvim/site/pack/packer/start/nvim-notify", url = "https://github.com/rcarriga/nvim-notify" }, ["nvim-tree.lua"] = { config = { "\27LJ\2\n>\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\21config.nvim-tree\frequire\0" }, keys = { { "", "" }, { "", "" } }, loaded = false, needs_bufread = false, only_cond = false, path = "/home/tobi/.local/share/nvim/site/pack/packer/opt/nvim-tree.lua", url = "https://github.com/kyazdani42/nvim-tree.lua" }, ["nvim-treesitter"] = { config = { "\27LJ\2\n?\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\22config.treesitter\frequire\0" }, loaded = true, path = "/home/tobi/.local/share/nvim/site/pack/packer/start/nvim-treesitter", url = "https://github.com/nvim-treesitter/nvim-treesitter" }, ["nvim-treesitter-context"] = { loaded = true, path = "/home/tobi/.local/share/nvim/site/pack/packer/start/nvim-treesitter-context", url = "https://github.com/romgrk/nvim-treesitter-context" }, ["packer.nvim"] = { loaded = true, path = "/home/tobi/.local/share/nvim/site/pack/packer/start/packer.nvim", url = "https://github.com/wbthomason/packer.nvim" }, playground = { commands = { "TSPlaygroundToggle" }, loaded = false, needs_bufread = true, only_cond = false, path = "/home/tobi/.local/share/nvim/site/pack/packer/opt/playground", url = "https://github.com/nvim-treesitter/playground" }, ["plenary.nvim"] = { loaded = true, path = "/home/tobi/.local/share/nvim/site/pack/packer/start/plenary.nvim", url = "https://github.com/nvim-lua/plenary.nvim" }, ["presence.nvim"] = { loaded = true, path = "/home/tobi/.local/share/nvim/site/pack/packer/start/presence.nvim", url = "https://github.com/andweeb/presence.nvim" }, ["project.nvim"] = { config = { "\27LJ\2\n<\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\19config.project\frequire\0" }, loaded = true, path = "/home/tobi/.local/share/nvim/site/pack/packer/start/project.nvim", url = "https://github.com/ahmedkhalf/project.nvim" }, ["rust.vim"] = { config = { "\27LJ\2\n>\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\21config.lang.rust\frequire\0" }, loaded = false, needs_bufread = true, only_cond = false, path = "/home/tobi/.local/share/nvim/site/pack/packer/opt/rust.vim", url = "https://github.com/rust-lang/rust.vim" }, ["telescope.nvim"] = { config = { "\27LJ\2\n>\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\21config.telescope\frequire\0" }, loaded = true, path = "/home/tobi/.local/share/nvim/site/pack/packer/start/telescope.nvim", url = "https://github.com/nvim-telescope/telescope.nvim" }, ["todo-comments.nvim"] = { config = { "\27LJ\2\nB\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\25config.todo-comments\frequire\0" }, load_after = {}, loaded = true, needs_bufread = false, path = "/home/tobi/.local/share/nvim/site/pack/packer/opt/todo-comments.nvim", url = "https://github.com/folke/todo-comments.nvim" }, ["trouble.nvim"] = { after = { "todo-comments.nvim" }, loaded = true, only_config = true }, ["vim-fugitive"] = { loaded = true, path = "/home/tobi/.local/share/nvim/site/pack/packer/start/vim-fugitive", url = "https://github.com/tpope/vim-fugitive" }, ["vim-lastplace"] = { loaded = true, path = "/home/tobi/.local/share/nvim/site/pack/packer/start/vim-lastplace", url = "https://github.com/farmergreg/vim-lastplace" }, ["vim-markdown"] = { config = { "\27LJ\2\nB\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\25config.lang.markdown\frequire\0" }, loaded = false, needs_bufread = true, only_cond = false, path = "/home/tobi/.local/share/nvim/site/pack/packer/opt/vim-markdown", url = "https://github.com/plasticboy/vim-markdown" }, ["vim-multiple-cursors"] = { config = { "\27LJ\2\nA\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\24config.multi-cursor\frequire\0" }, loaded = true, path = "/home/tobi/.local/share/nvim/site/pack/packer/start/vim-multiple-cursors", url = "https://github.com/terryma/vim-multiple-cursors" }, ["vim-table-mode"] = { loaded = false, needs_bufread = true, only_cond = false, path = "/home/tobi/.local/share/nvim/site/pack/packer/opt/vim-table-mode", url = "https://github.com/dhruvasagar/vim-table-mode" }, ["vim-teal"] = { loaded = false, needs_bufread = true, only_cond = false, path = "/home/tobi/.local/share/nvim/site/pack/packer/opt/vim-teal", url = "https://github.com/teal-language/vim-teal" } } time([[Defining packer_plugins]], false) -- Config for: nvim-notify time([[Config for nvim-notify]], true) try_loadstring("\27LJ\2\n;\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\18config.notify\frequire\0", "config", "nvim-notify") time([[Config for nvim-notify]], false) -- Config for: lualine.nvim time([[Config for lualine.nvim]], true) try_loadstring("\27LJ\2\n<\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\19config.lualine\frequire\0", "config", "lualine.nvim") time([[Config for lualine.nvim]], 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: trouble.nvim time([[Config for trouble.nvim]], true) try_loadstring("\27LJ\2\n<\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\19config.trouble\frequire\0", "config", "trouble.nvim") time([[Config for trouble.nvim]], false) -- Config for: gitsigns.nvim time([[Config for gitsigns.nvim]], true) try_loadstring("\27LJ\2\n=\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\20config.gitsigns\frequire\0", "config", "gitsigns.nvim") time([[Config for gitsigns.nvim]], false) -- Config for: nvim-treesitter time([[Config for nvim-treesitter]], true) try_loadstring("\27LJ\2\n?\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\22config.treesitter\frequire\0", "config", "nvim-treesitter") time([[Config for nvim-treesitter]], false) -- Config for: LuaSnip time([[Config for LuaSnip]], true) try_loadstring("\27LJ\2\n<\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\19config.luasnip\frequire\0", "config", "LuaSnip") time([[Config for LuaSnip]], false) -- Config for: vim-multiple-cursors time([[Config for vim-multiple-cursors]], true) try_loadstring("\27LJ\2\nA\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\24config.multi-cursor\frequire\0", "config", "vim-multiple-cursors") time([[Config for vim-multiple-cursors]], false) -- Config for: crates.nvim time([[Config for crates.nvim]], true) try_loadstring("\27LJ\2\n;\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\18config.crates\frequire\0", "config", "crates.nvim") time([[Config for crates.nvim]], false) -- Config for: nvim-lspconfig time([[Config for nvim-lspconfig]], true) try_loadstring("\27LJ\2\n8\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\15config.lsp\frequire\0", "config", "nvim-lspconfig") time([[Config for nvim-lspconfig]], false) -- Config for: harpoon time([[Config for harpoon]], true) try_loadstring("\27LJ\2\n<\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\19config.harpoon\frequire\0", "config", "harpoon") time([[Config for harpoon]], false) -- Config for: firenvim time([[Config for firenvim]], true) try_loadstring("\27LJ\2\n=\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\20config.firenvim\frequire\0", "config", "firenvim") time([[Config for firenvim]], false) -- Config for: project.nvim time([[Config for project.nvim]], true) try_loadstring("\27LJ\2\n<\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\19config.project\frequire\0", "config", "project.nvim") time([[Config for project.nvim]], false) -- Config for: nvim-cmp time([[Config for nvim-cmp]], true) try_loadstring("\27LJ\2\n8\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\15config.cmp\frequire\0", "config", "nvim-cmp") time([[Config for nvim-cmp]], false) -- Config for: telescope.nvim time([[Config for telescope.nvim]], true) try_loadstring("\27LJ\2\n>\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\21config.telescope\frequire\0", "config", "telescope.nvim") time([[Config for telescope.nvim]], false) -- Config for: nvim-dap time([[Config for nvim-dap]], true) try_loadstring("\27LJ\2\n8\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\15config.dap\frequire\0", "config", "nvim-dap") time([[Config for nvim-dap]], false) -- Load plugins in order defined by `after` time([[Sequenced loading]], true) vim.cmd [[ packadd nvim-dap-ui ]] -- Config for: nvim-dap-ui try_loadstring("\27LJ\2\n;\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\18config.dap.ui\frequire\0", "config", "nvim-dap-ui") vim.cmd [[ packadd todo-comments.nvim ]] -- Config for: todo-comments.nvim try_loadstring("\27LJ\2\nB\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\25config.todo-comments\frequire\0", "config", "todo-comments.nvim") time([[Sequenced loading]], false) -- Command lazy-loads time([[Defining lazy-load commands]], true) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file TSPlaygroundToggle lua require("packer.load")({'playground'}, { cmd = "TSPlaygroundToggle", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) time([[Defining lazy-load commands]], false) -- Keymap lazy-loads time([[Defining lazy-load keymaps]], true) vim.cmd [[noremap lua require("packer.load")({'nvim-tree.lua'}, { keys = "f6>", prefix = "" }, _G.packer_plugins)]] vim.cmd [[noremap lua require("packer.load")({'nvim-tree.lua'}, { keys = "f18>", prefix = "" }, _G.packer_plugins)]] time([[Defining lazy-load keymaps]], false) vim.cmd [[augroup packer_load_aucmds]] vim.cmd [[au!]] -- Filetype lazy-loads time([[Defining lazy-load filetype autocommands]], true) vim.cmd [[au FileType markdown ++once lua require("packer.load")({'vim-markdown', 'vim-table-mode', 'markdown-preview.nvim'}, { ft = "markdown" }, _G.packer_plugins)]] vim.cmd [[au FileType teal ++once lua require("packer.load")({'vim-teal'}, { ft = "teal" }, _G.packer_plugins)]] vim.cmd [[au FileType rust ++once lua require("packer.load")({'rust.vim'}, { ft = "rust" }, _G.packer_plugins)]] time([[Defining lazy-load filetype autocommands]], false) vim.cmd("augroup END") vim.cmd [[augroup filetypedetect]] time([[Sourcing ftdetect script at: /home/tobi/.local/share/nvim/site/pack/packer/opt/vim-markdown/ftdetect/markdown.vim]], true) vim.cmd [[source /home/tobi/.local/share/nvim/site/pack/packer/opt/vim-markdown/ftdetect/markdown.vim]] time([[Sourcing ftdetect script at: /home/tobi/.local/share/nvim/site/pack/packer/opt/vim-markdown/ftdetect/markdown.vim]], false) time([[Sourcing ftdetect script at: /home/tobi/.local/share/nvim/site/pack/packer/opt/rust.vim/ftdetect/rust.vim]], true) vim.cmd [[source /home/tobi/.local/share/nvim/site/pack/packer/opt/rust.vim/ftdetect/rust.vim]] time([[Sourcing ftdetect script at: /home/tobi/.local/share/nvim/site/pack/packer/opt/rust.vim/ftdetect/rust.vim]], false) time([[Sourcing ftdetect script at: /home/tobi/.local/share/nvim/site/pack/packer/opt/vim-teal/ftdetect/teal.vim]], true) vim.cmd [[source /home/tobi/.local/share/nvim/site/pack/packer/opt/vim-teal/ftdetect/teal.vim]] time([[Sourcing ftdetect script at: /home/tobi/.local/share/nvim/site/pack/packer/opt/vim-teal/ftdetect/teal.vim]], false) vim.cmd("augroup END") if should_profile then save_profiles() end end) if not no_errors then vim.api.nvim_command('echohl ErrorMsg | echom "Error in packer_compiled: '..error_msg..'" | echom "Please check your config for correctness" | echohl None') end ```
saecki commented 2 years ago

This seems to be fixed now!