mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-10-25 03:32:13 +00:00
## Description
<!-- Describe the big picture of your changes to communicate to the
maintainers
why we should accept this pull request. -->
when `expr=true` the rhs function should return a string.
example
```lua
{
keys = {
{
'<leader>j',
function()
return require('dial.map').inc_normal()
end,
expr = true,
desc = 'Increment value',
}
}
}
```
## Related Issue(s)
<!--
If this PR fixes any issues, please link to the issue here.
- Fixes #<issue_number>
-->
## Screenshots
<!-- Add screenshots of the changes if applicable. -->
|
||
|---|---|---|
| .. | ||
| cmd.lua | ||
| event.lua | ||
| ft.lua | ||
| init.lua | ||
| keys.lua | ||