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

Write a plugin in vim9script to be compatible with the original Vim #11

Open
jclsn opened this issue Mar 16, 2024 · 4 comments
Open

Write a plugin in vim9script to be compatible with the original Vim #11

jclsn opened this issue Mar 16, 2024 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@jclsn
Copy link

jclsn commented Mar 16, 2024

This plugin exclusively written for Neovim, which can't be used in the original Vim. Many people still use it though. Would be great if there could also get one written in vim9script for Vim!

@holzensp holzensp added enhancement New feature or request help wanted Extra attention is needed labels Mar 18, 2024
@holzensp
Copy link

That's a totally reasonable ask. It's going to be a while before we can prioritize this, though, so if you want it fast; PRs are most welcome ;) Ideally, though, we have one plugin that works in either, if that's doable.

@jclsn
Copy link
Author

jclsn commented Mar 18, 2024

@holzensp Thank you for being open for this. It is doable, but currently it would have to be written in legacy vimscript. Although I am not sure if Neovim will add vim9script support in the future.

Ah seems there are plans

https://neovim.discourse.group/t/will-vim9-be-supported/2229/10

vim9script is also much nicer to program in, as it got rid of much of the quirks of legacy vimscript.

@holzensp
Copy link

In that case, I'd await the neovim support for vim9 before kicking this off.

@jclsn
Copy link
Author

jclsn commented Mar 20, 2024

Upon further inquiry it seems they are not likely to support it any time soon.

neovim/neovim#13625

You could still write the plugin in legacy vimscript though, to make it available for both editors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants