Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Getting errors when trying to rename functions or use code actions. #123

Open
lewpoly opened this issue Apr 10, 2022 · 6 comments · May be fixed by #168
Open

Getting errors when trying to rename functions or use code actions. #123

lewpoly opened this issue Apr 10, 2022 · 6 comments · May be fixed by #168

Comments

@lewpoly
Copy link

lewpoly commented Apr 10, 2022

2022-04-10_17-52

I'm on Neovim 0.7.0 dev.

@fgheng
Copy link

fgheng commented May 2, 2022

Encountered the same problem while using code action.

image

@lewpoly
Copy link
Author

lewpoly commented May 2, 2022

Rename was fixed in one of the recent commits, but yea, I left the issue open due to code actions still throwing errors.

@l1ch40
Copy link

l1ch40 commented Aug 13, 2022

Same problem

@zjp-CN
Copy link

zjp-CN commented Sep 14, 2022

Got the problem with code action, and the error msg is:

E5108: Error executing lua: ...symbols-outline.nvim/lua/symbols-outline/code_action.lua:22: Expected Lua number
stack traceback:
        [C]: in function 'nvim_win_get_cursor'
        ...symbols-outline.nvim/lua/symbols-outline/code_action.lua:22: in function <...symbols-outline.nvim/lua/symbols-outline/code_action.lua:21>

@zjp-CN zjp-CN linked a pull request Sep 14, 2022 that will close this issue
@idrilirdi
Copy link

Still happening to me too

@hedyhli
Copy link

hedyhli commented Nov 2, 2023

Hi, for the time being (before simrat39 can hopefully come back) I'm maintaining a fork where the PR #168 is merged, fixing this issue as well as a few others -- see details of improvements in readme.

Also note on the fork status in the readme, feel free to try it if you really prefer this over alternative plugins but do proceed with caution :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants