-
Notifications
You must be signed in to change notification settings - Fork 4
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
Use command-preview in nightly #2
Comments
Yeah it's what initially inspired me to add preview mode but unfortunately align.nvim doesnt use a command to run any functions, and instead uses a (poorly made) custom prompt, which is not usable with that feature as far as i know. |
Converting the functions to commands with arguments shouldn't be hard. |
I'll try to look into it but I have taken an internship and don't have nearly as much free time as I would like. For now, if anyone else is interested they can open a pull request to implement it, I'll be more likely to accept it if it doesn't break the current api, though thats unlikely without duplication. |
You can always merge it in another branch. I might try to implement it myself. |
Yep, that works too, might have to edit the master branch's README to direct people to the new one though. |
Neovim nightly supports inccommand previews in user commands.
See: https://neovim.io/doc/user/map.html#:command-preview
The text was updated successfully, but these errors were encountered: