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

feat: use jobstart instead of termopen (deprecated) in Neovim 0.11 #295

Closed
mikesmithgh opened this issue Dec 31, 2024 · 1 comment · Fixed by #298
Closed

feat: use jobstart instead of termopen (deprecated) in Neovim 0.11 #295

mikesmithgh opened this issue Dec 31, 2024 · 1 comment · Fixed by #298
Labels
enhancement New feature or request released

Comments

@mikesmithgh
Copy link
Owner

DEPRECATED IN 0.11					*deprecated-0.11*

VIMSCRIPT
• *termopen()* Use |jobstart() with `{term: v:true}`.

use jobstart instead of termopen in kitty_commands.lua

from

  local success, error = pcall(vim.fn.termopen, full_cmd, {

to

  local success, error = pcall(vim.fn.jobstart, full_cmd, {
    term = true,
@mikesmithgh mikesmithgh added the enhancement New feature or request label Dec 31, 2024
mikesmithgh pushed a commit that referenced this issue Dec 31, 2024
# [6.2.0](v6.1.2...v6.2.0) (2024-12-31)

### Features

* use jobstart for Neovim v0.11+ instead of termopen ([#298](#298)) ([2d24427](2d24427)), closes [#295](#295)
@mikesmithgh
Copy link
Owner Author

🎉 This issue has been resolved in version 6.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging a pull request may close this issue.

1 participant