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

Unknown function: nvim_buf_set_extmark #52

Closed
zeittgeist opened this issue Nov 9, 2021 · 1 comment
Closed

Unknown function: nvim_buf_set_extmark #52

zeittgeist opened this issue Nov 9, 2021 · 1 comment

Comments

@zeittgeist
Copy link
Contributor

Commit ab4dc40 breaks blamer, cannot find the correct function which locks navigation between files, rolling back to the previous function fixed it temporarily

Error detected while processing function <lambda>41[1]..blamer#Show[31]..blamer#SetVirtualText:
line    3:
E117: Unknown function: nvim_buf_set_extmark

image

Error in

call nvim_buf_set_extmark(a:buffer_number, s:blamer_namespace, l:line_index, 0, {"hl_mode": "combine", "virt_text": [[s:blamer_prefix . a:message, 'Blamer']]})

@zeittgeist
Copy link
Contributor Author

zeittgeist commented Nov 10, 2021

I understand that nvim_buf_set_virtual_text is now deprecated, so I started looking for my neovim version so I could know why this new function is not included.

In Ubuntu Focal (LTS) the default neovim version is v0.4.3 vs the stable neovim release v.0.5.1. As a possible solution, please consider checking the installed version in order to set the proper function.

image

@APZelos APZelos closed this as completed Nov 17, 2021
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