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

Stop relying on call_atomic #1605

Merged
merged 2 commits into from
Apr 28, 2024
Merged

Stop relying on call_atomic #1605

merged 2 commits into from
Apr 28, 2024

Conversation

glacambre
Copy link
Owner

  • src/frame.ts: replace nvim_call_atomic with nvim_exec_lua
  • src/Neovim.ts: stop filtering out deprecated functions.

@glacambre glacambre force-pushed the fix-1603 branch 3 times, most recently from c808085 to 4c02c13 Compare April 28, 2024 11:44
A vim.ui_attach function whose interface differs from nvim_ui_attach was
introduced in 0.9, and would overwrite nvim_ui_attach for Firenvim. The
only reason this didn't cause any issues yet is that vim.ui_attach is
marked deprecated, but we can't ignore deprecated functions because
otherwise Firenvim breaks immediately when functions get deprecated
(e.g. which is what happened in #1603).
@glacambre glacambre force-pushed the fix-1603 branch 2 times, most recently from 7d7d908 to cbe40cb Compare April 28, 2024 12:04
@glacambre glacambre merged commit 222efad into master Apr 28, 2024
14 of 19 checks passed
@glacambre glacambre deleted the fix-1603 branch April 28, 2024 12:15
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.

1 participant