Skip to content

possibly fix the issue with create files? - #324

Merged
nickjvandyke merged 1 commit into
nickjvandyke:mainfrom
zawedcvg:main
Sep 11, 2026
Merged

possibly fix the issue with create files?#324
nickjvandyke merged 1 commit into
nickjvandyke:mainfrom
zawedcvg:main

Conversation

@zawedcvg

@zawedcvg zawedcvg commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Tasks

  • [x ] I read CONTRIBUTING.md
  • [ x] I ensured my changes pass automated checks
  • [x ] I reviewed and understand the AI-generated code in my changes (if any)

Description

This should fix #309. It changes from checking if the path exists to just if the directory exists. I don't see any cases where this should not work. have tested with a couple of cases and it seems to work as expected.

Testing

Related Issue(s)

Screenshots/Videos

@nickjvandyke

Copy link
Copy Markdown
Owner

Makes sense to me, good idea! Let's give it a go in the wild 馃槃

@nickjvandyke
nickjvandyke merged commit df1a05f into nickjvandyke:main Sep 11, 2026
2 checks passed
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.

bug: When write is called on a file that does not exist yet, opencode.nvim is not able to pull up the diff in nvim.

2 participants