You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,6 +83,10 @@
83
83
84
84
- For AI review panes, re-rendering existing split buffers during sync should preserve current window sizes; reusing `open()` without a layout-preserving option causes background refreshes to resize walkthrough splits.
85
85
86
+
## Learned while hardening comment export against JSON nulls
87
+
88
+
-`vim.json.decode()` turns JSON `null` into truthy `vim.NIL` userdata, so `comment.start_line or comment.line` is unsafe on decoded PR comment payloads. Normalize optional numeric fields with an explicit `type(value) == "number"` check before formatting ranges or applying suggestions.
89
+
86
90
## Project Overview
87
91
88
92
`neo-reviewer` is a Neovim plugin for reviewing GitHub PRs. Hybrid architecture: Rust CLI for GitHub API/diff parsing, Lua plugin for UI.
0 commit comments