Skip to content

Auto-append () for parameterless functions in completion#530

Merged
idursun merged 2 commits intoidursun:mainfrom
Dima-369:auto-append-parens-no-params
Feb 14, 2026
Merged

Auto-append () for parameterless functions in completion#530
idursun merged 2 commits intoidursun:mainfrom
Dima-369:auto-append-parens-no-params

Conversation

@Dima-369
Copy link
Copy Markdown
Contributor

@Dima-369 Dima-369 requested a review from idursun as a code owner February 14, 2026 10:15
Copy link
Copy Markdown
Owner

@idursun idursun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@idursun idursun merged commit 69f9025 into idursun:main Feb 14, 2026
4 checks passed
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Feb 18, 2026
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [idursun/jjui](https://github.com/idursun/jjui) | patch | `v0.9.11` → `v0.9.12` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>idursun/jjui (idursun/jjui)</summary>

### [`v0.9.12`](https://github.com/idursun/jjui/releases/tag/v0.9.12)

[Compare Source](idursun/jjui@v0.9.11...v0.9.12)

### Release 0.9.12 (Final 0.9.x Series)

> \[!NOTE]
> This is a quick release before marking the end of 0.9.x series due to breaking changes introduced by the work in [#&#8203;533](idursun/jjui#533)

#### Fixes & Improvements

- Modal rendering now fills the entire git, bookmarks, and custom command dialogs before drawing rows, eliminating gaps introduced by the new renderer [#&#8203;535](idursun/jjui#535)
- Fixed a regression where `ui.colors.selected = { bg = "black" }` no longer highlighted the selected revision by restoring the correct lipgloss → ANSI color conversion [#&#8203;534](idursun/jjui#534)
- `jj git fetch --tracked` uses the `t` shortcut so `f` remains dedicated to the default fetch, matching the push command’s tracked shortcut [#&#8203;532](idursun/jjui#532)
- Added a `[keys.diff_view]` config section so diff scrolling, paging, and closing bindings are customizable [#&#8203;527](idursun/jjui#527)
- Completion now auto-inserts `()` when selecting a parameterless function, improving Lua/script authoring speed [#&#8203;530](idursun/jjui#530)
- Lua’s `flash()` accepts `error` and `sticky` fields, so scripts can show error toasts and control persistence without additional helpers [#&#8203;529](idursun/jjui#529)

#### What's Changed

- Auto-append () for parameterless functions in completion by [@&#8203;Dima-369](https://github.com/Dima-369) in [#&#8203;530](idursun/jjui#530)
- Add customizable keybindings for the diff view (\[keys.diff\_view]) by [@&#8203;Dima-369](https://github.com/Dima-369) in [#&#8203;527](idursun/jjui#527)
- fix(ui/git): update key for `jj git fetch --tracked` by [@&#8203;PrayagS](https://github.com/PrayagS) in [#&#8203;532](idursun/jjui#532)

#### New Contributors

- [@&#8203;Dima-369](https://github.com/Dima-369) made their first contribution in [#&#8203;530](idursun/jjui#530)

**Full Changelog**: <idursun/jjui@v0.9.11...0.9.12>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xOS4yIiwidXBkYXRlZEluVmVyIjoiNDMuMTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90IiwiYXV0b21hdGlvbjpib3QtYXV0aG9yZWQiLCJkZXBlbmRlbmN5LXR5cGU6OnBhdGNoIl19-->
@nickchomey
Copy link
Copy Markdown
Contributor

Is it possible to append ( for functions that do have parameters? eg typing tag and then tab would show tags(?

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.

3 participants