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

nvim-code-action-menu deprecated (and broken) #342

Closed
1 task done
horriblename opened this issue Jul 18, 2024 · 1 comment · Fixed by #376
Closed
1 task done

nvim-code-action-menu deprecated (and broken) #342

horriblename opened this issue Jul 18, 2024 · 1 comment · Fixed by #376
Labels
bug Something isn't working

Comments

@horriblename
Copy link
Collaborator

⚠️ Please verify that this bug has NOT been reported before.

  • I checked all existing issues and didn't find a similar issue

Description

https://github.com/weilbith/nvim-code-action-menu has been archived, and I suspect it's responsible for this error:

Error detected while processing CursorMoved Autocommands for "<buffer=156>":
E5108: Error executing lua ...action-menu/lua/code_action_menu/windows/base_window.lua:112: attempt to index local 'option' (a number value)
stack traceback:
	...action-menu/lua/code_action_menu/windows/base_window.lua:112: in function 'get_option'
	...on-menu/lua/code_action_menu/windows/stacking_window.lua:28: in function 'get_stack_direction'
	...on-menu/lua/code_action_menu/windows/stacking_window.lua:80: in function 'get_window_configuration'
	...action-menu/lua/code_action_menu/windows/base_window.lua:77: in function 'open'
	...per/start/nvim-code-action-menu/lua/code_action_menu.lua:79: in function 'update_details_window'
	...per/start/nvim-code-action-menu/lua/code_action_menu.lua:105: in function 'update_selected_action'
	[string ":lua"]:1: in main chunk
E5107: Error loading lua [string ":lua"]:1: ')' expected near '\'
E5108: Error executing lua [string ":lua"]:1: module 'code-action' not found:
	no field package.preload['code-action']
cache_loader: module code-action not found
cache_loader_lib: module code-action not found
	no file '/nix/store/8zxd06514nxaq554gc7460bccr72nsc6-luajit-2.1.1713773202-env/share/lua/5.1/code-action.lua'
	no file '/nix/store/8zxd06514nxaq554gc7460bccr72nsc6-luajit-2.1.1713773202-env/share/lua/5.1/code-action/init.lua'
	no file '/nix/store/8zxd06514nxaq554gc7460bccr72nsc6-luajit-2.1.1713773202-env/lib/lua/5.1/code-action.so'
stack traceback:
	[C]: in function 'require'
	[string ":lua"]:1: in main chunk

👟 Reproduction steps

enable nvim-code-actions-menu and use code action

👀 Expected behavior

not spam me with errors

😓 Actual Behavior

spam me with errors

💻 Metadata

  • system: "x86_64-darwin" - host os: Darwin 23.5.0, macOS 10.16 - multi-user?: yes - sandbox: no - version: nix-env (Nix) 2.18.1 - nixpkgs: /nix/store/kr5gpvypsqk6h2ahjk7lj40293fyzjbx-source

📝 Relevant log output

-
@horriblename horriblename added the bug Something isn't working label Jul 18, 2024
@NotAShelf
Copy link
Owner

Reminds me to replace it...

@NotAShelf NotAShelf linked a pull request Aug 11, 2024 that will close this issue
@NotAShelf NotAShelf linked a pull request Sep 19, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants