Skip to content

fix: handle vim.NIL priority field in issue rendering - #34

Merged
letieu merged 1 commit into
letieu:mainfrom
romanrev:hotfix/priority-field-rendering
Apr 15, 2026
Merged

letieu merged 1 commit into
letieu:mainfrom
romanrev:hotfix/priority-field-rendering

Conversation

@romanrev

@romanrev romanrev commented Apr 15, 2026 •

Copy link
Copy Markdown
Contributor

I was getting the errors of the like:

Lua callback: .../.local/share/nvim/lazy/jira.nvim/lua/jira/edit/init.lua:16: attempt to index field 'priority' (a userdata value)
...
Error executing vim.schedule lua callback: ...ocal/share/nvim/lazy/jira.nvim/lua/jira/issue/render.lua:81: attempt to index field 'priority' (a userdata value)

same pattern as in the current fix was used throughout the lua/jira/edit/init.lua and for the fields.assignee in lua/jira.issue/render.lua

@romanrev
romanrev requested a review from letieu as a code owner April 15, 2026 01:26
@letieu

letieu commented Apr 15, 2026

Copy link
Copy Markdown
Owner

@all-contributors please add @romanrev and @benelori for code

@letieu
letieu merged commit 79168e7 into letieu:main Apr 15, 2026
4 checks passed
@allcontributors

Copy link
Copy Markdown
Contributor

@letieu

I've put up a pull request to add @romanrev! 🎉

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.

2 participants