Skip to content

Plugin breaks on windows/arm64 neovim with LazyVim #725

Open
@TENX-S

Description

Describe the bug
I built a windows/arm64 Neovim which use the MSVC arm64 build tools, and installed LazyVim.
On startup, it strikes me an error message:

Failed to source `C:/Users/ares/AppData/Local/nvim-data/lazy/nvim-treesitter-textobjects/plugin/nvim-treesitter-textobjects.vim`

vim/_editor.lua:439: User Autocommands for "VeryLazy"..script nvim_exec2() called at User Autocommands for "VeryLazy":0..C:/Users/ares/AppData/Local/nvim-data/lazy/nvim-treesitter-textobjects/plugin/nvim-treesitter-textobjects.vim, line 3: Vim(lua):E5108: Error executing lua C:/Program Files/Neovim/share/nvim/runtime/lua/vim/iter.lua:236: flatten() requires a list-like table
stack traceback:
	[C]: in function 'error'
	C:/Program Files/Neovim/share/nvim/runtime/lua/vim/iter.lua:236: in function 'flatten'
	...data/lazy/nvim-treesitter/lua/nvim-treesitter/compat.lua:33: in function 'flatten'
	...-data/lazy/nvim-treesitter/lua/nvim-treesitter/utils.lua:86: in function 'setup_commands'
	...eesitter-textobjects/lua/nvim-treesitter-textobjects.lua:70: in function 'init'
	[string ":lua"]:1: in main chunk
	[C]: in function 'nvim_exec2'
	vim/_editor.lua:439: in function 'cmd'
	.../Local/nvim-data/lazy/lazy.nvim/lua/lazy/core/loader.lua:510: in function <.../Local/nvim-data/lazy/lazy.nvim/lua/lazy/core/loader.lua:509>
	[C]: in function 'xpcall'
	...ta/Local/nvim-data/lazy/lazy.nvim/lua/lazy/core/util.lua:135: in function 'try'
	.../Local/nvim-data/lazy/lazy.nvim/lua/lazy/core/loader.lua:509: in function 'source'
	.../Local/nvim-data/lazy/lazy.nvim/lua/lazy/core/loader.lua:457: in function 'source_runtime'
	.../Local/nvim-data/lazy/lazy.nvim/lua/lazy/core/loader.lua:425: in function 'packadd'
	.../Local/nvim-data/lazy/lazy.nvim/lua/lazy/core/loader.lua:359: in function '_load'
	.../Local/nvim-data/lazy/lazy.nvim/lua/lazy/core/loader.lua:197: in function 'load'
	...nvim-data/lazy/lazy.nvim/lua/lazy/core/handler/event.lua:85: in function <...nvim-data/lazy/lazy.nvim/lua/lazy/core/handler/event.lua:72>
	[C]: in function 'nvim_exec_autocmds'
	...ta/Local/nvim-data/lazy/lazy.nvim/lua/lazy/core/util.lua:175: in function <...ta/Local/nvim-data/lazy/lazy.nvim/lua/lazy/core/util.lua:169>

# stacktrace:
  - vim\_editor.lua:439 _in_ **cmd**

FYI, windows/amd64 Neovim doesn't have this issue. So I'm wondering there may have some quirks with lua.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions