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

Adding support for NeoVim #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

luozhiya
Copy link
Contributor

@luozhiya luozhiya commented May 17, 2024

Hi,

This PR adding support for NeoVim

Solution

  • NeoVim lacks echow and is replaced with echom
  • NeoVim does not have the type v:none, so replace it with empty
  • Using NeoVim extmark related functions
    • prop_type_add 🡪 nvim_create_namespace
    • prop_remove 🡪 nvim_buf_clear_namespace
    • prop_add 🡪 nvim_buf_set_extmark

Fix #13
Fix #18

Thanks

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

Successfully merging this pull request may close these issues.

支持neovim,支持vim-plug安装 nvim v0.9.5 中报错 Unknown function: prop_type_add
1 participant