Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin breaks on windows/arm64 neovim with LazyVim #725

Open
TENX-S opened this issue Jan 8, 2025 · 0 comments
Open

Plugin breaks on windows/arm64 neovim with LazyVim #725

TENX-S opened this issue Jan 8, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@TENX-S
Copy link

TENX-S commented Jan 8, 2025

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.

@TENX-S TENX-S added the bug Something isn't working label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant