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

E117: Unknown function: setcursorcharpos #99

Open
durka opened this issue Mar 3, 2023 · 5 comments
Open

E117: Unknown function: setcursorcharpos #99

durka opened this issue Mar 3, 2023 · 5 comments

Comments

@durka
Copy link

durka commented Mar 3, 2023

I'm getting this error whenever I run :Flog or :Flogsplit. After hitting enter the graph seems to load normally though.

Error detected while processing function flog#cmd#Flog[19]..flog#floggraph#buf#Update[32]..flog#floggraph#commit#RestorePosition[9]..flog#win#Restore[9]..flog#win#RestoreVcol:
line    2:
E117: Unknown function: setcursorcharpos
$ nvim --version
NVIM v0.6.1
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by team+vim@tracker.debian.org

Features: +acl +iconv +tui
@rbong
Copy link
Owner

rbong commented Mar 3, 2023

I pushed a fix, please let me know if it works. I would recommend upgrading Neovim if at all possible though, 0.6.1 is a bit too old to justify support.

@durka
Copy link
Author

durka commented Mar 3, 2023 via email

@durka
Copy link
Author

durka commented Mar 9, 2023

Seems to have fixed the immediate issue, but now the next undefined function is virtcol2col.

@durka
Copy link
Author

durka commented Mar 9, 2023

As you mentioned, 0.6.1 is old. I installed Neovim 0.8.3 from homebrew and there are no issues.

@rbong
Copy link
Owner

rbong commented Mar 9, 2023

Seems to have fixed the immediate issue, but now the next undefined function is virtcol2col.

Sorry about that, if anyone wants to give a shot fixing this issue for older versions of neovim please be my guest. However I think wide char based functions were a lot more limited in older versions, I think you will have to reimplement virtcol2col.

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

No branches or pull requests

2 participants