-
Notifications
You must be signed in to change notification settings - Fork 52
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Checking mergeability…
Don’t worry, you can still create the pull request.
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: sudo-tee/opencode.nvim
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: sudo-tee/opencode.nvim
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: pr/83
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 7 commits
- 27 files changed
- 1 contributor
Commits on Oct 28, 2025
-
fix(formatter): replace embedded md codefences
It seems like the markdown rendering plugins get confused by nested code fences so we replace embedded fences with ` ` `
Configuration menu - View commit details
-
Copy full SHA for c1e625a - Browse repository at this point
Copy the full SHA c1e625aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b33add - Browse repository at this point
Copy the full SHA 9b33addView commit details
Commits on Oct 29, 2025
-
fix(formatter): use longer codefence
Instead of disabling embedded markdown rendering, we can use a longer outer codefence. It did require regenerating all of the test data.
Configuration menu - View commit details
-
Copy full SHA for 27396b0 - Browse repository at this point
Copy the full SHA 27396b0View commit details -
fix(formatter): get more correct markdown types
Instead of just using the filename extension, use the neovim filetype (with some specific overrides). Fall back to the filename extension. This means we render our markdown sections with `markdown` as the type instead of `md` and that enables rendering embedded codefences correctly. Hopefully the last fix on this :)
Configuration menu - View commit details
-
Copy full SHA for 648947a - Browse repository at this point
Copy the full SHA 648947aView commit details -
chore(util): fix unit tests on nightly
Seems like nightly returns text as the type for .txt files which breaks our tests
Configuration menu - View commit details
-
Copy full SHA for 95f5c20 - Browse repository at this point
Copy the full SHA 95f5c20View commit details -
fix(renderer): parts occasionally not rendering
This was a subtle one and it only shows up when we're not collapsing events so it wasn't caught by the unit tests. I've since modified the unit tests to also run the replays without collapsing to catch bugs like this in the future. If the first version of a part didn't result in something being rendered, future updates to that part would also not render anything. This was particularly likely to happen with tools as the first version of the part is often `step-start`. Because we didn't think this was a new part, we called `_replace_part_in_buffer` but that exits quickly because the part hadn't been rendered anywhere. While we could try to call `_insert_part_to_buffer` in `_replace_part_in_buffer` if the part hadn't been rendered, that would miss some subtle cases around error handling so the correct fix is consider the part new in `on_part_updated` if we haven't rendered it before.
Configuration menu - View commit details
-
Copy full SHA for 4317d0b - Browse repository at this point
Copy the full SHA 4317d0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 635fe3f - Browse repository at this point
Copy the full SHA 635fe3fView commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...pr/83