Commit graph

2570 commits

Author SHA1 Message Date
c472dc39f5
feat: add selenized theme 2025-12-26 16:53:10 +01:00
1308a14138
fix: crash on cancelling the change theme palette
This commit also cleans up the handling of the previous theme variable.
2025-12-26 16:50:38 +01:00
3dcdb64f83
feat: configure editor completion triggers from LSP info 2025-12-26 16:02:25 +01:00
fe2ea13024
refactor: store reported lsp trigger characters to main view lsp info 2025-12-26 14:25:19 +01:00
4f737e4019
refactor: add lsp_info to mainview 2025-12-26 14:25:03 +01:00
89dc5cce54
fix: do not log git cat-file errors 2025-12-26 12:49:03 +01:00
90aba421a2
refactor: read triggerCharacters from LSP init response 2025-12-24 15:07:11 +01:00
15942f19c7
feat: add command to enable auto completion 2025-12-24 00:48:04 +01:00
f875dba810
refactor: limit maximum size of detail and description in completion dropdown 2025-12-24 00:40:58 +01:00
b5d137666f
refactor: run triggers only on primary cursel 2025-12-24 00:10:56 +01:00
4f39bbbd41
refactor: add support for delete word during completion 2025-12-24 00:03:05 +01:00
911fc3160a
refactor: add support for backspace during completion 2025-12-23 23:53:14 +01:00
b2996cddbd
refactor: also run triggers during completion 2025-12-23 22:53:12 +01:00
6fce29f876
refactor: ignore late palette_menu_cancel calls 2025-12-23 22:37:08 +01:00
96676c738a
refactor: prevent duplicate triggers 2025-12-23 22:36:56 +01:00
ed027b5f6d
refactor: store trigger commands as strings
Because command IDs are not stable across restarts.
2025-12-23 22:36:16 +01:00
7d2e6a3b45
refactor: don't indirectly call cancel on completion dropdown select 2025-12-23 22:07:40 +01:00
a5d7e76897
refactor: remove modal background from dropdown 2025-12-23 22:03:56 +01:00
35d823d0b8
refactor: also cancel completion dropdown if view changes 2025-12-23 21:57:39 +01:00
d55b5b695b
refactor: avoid crash if dropdown has no space to be displayed 2025-12-23 21:45:38 +01:00
c4301c40d9
refactor: add dropdown_keybinds configuration option 2025-12-23 21:45:06 +01:00
d59dc65e6b
refactor: run current command queue to end before running triggers 2025-12-23 15:01:50 +01:00
478f919051
refactor: also log triggers when command logging is enabled 2025-12-23 13:48:59 +01:00
0c92cd8b8f
feat: add toggle_command_logging command 2025-12-23 13:48:44 +01:00
f75cc9b845
refactor: use command.command_names index and improve logging of commands
We now use the command name index more consistently to allow for
pre-allocating command IDs and better logging when commands are not
found.

This is a major, but hopefully non-breaking, change to command execution.
2025-12-23 13:45:13 +01:00
6c60e5a0df
refactor: add '.' as a default trigger symbol for completion 2025-12-21 23:03:43 +01:00
1b9bb31a59
refactor: run triggers on delete events 2025-12-21 21:21:56 +01:00
12159edfcf
refactor: add Buffer.delete_range_char function 2025-12-21 20:57:46 +01:00
24afc12f4c
refactor: add delete triggers 2025-12-21 19:37:34 +01:00
d711279938
refactor: call insert trigger commands when a single trigger char is inserted 2025-12-21 17:03:22 +01:00
10e9348901
refactor: add insert trigger storage to editor widget 2025-12-21 16:42:26 +01:00
8c9146a1c5
fix: replace full completion item correctly in completion_dropdown 2025-12-18 22:30:48 +01:00
394eb5405f
feat: add toggle_completion_style command 2025-12-18 22:16:34 +01:00
b92d5a2acb
feat: add dropdown_next_widget_style command 2025-12-18 22:13:06 +01:00
3a61bb2ae9
feat: implement inline completion mode with a dropdown overlay 2025-12-18 20:34:28 +01:00
342e7d98c8
refactor: add dropdown overlay type 2025-12-18 20:33:51 +01:00
8a7ad7354f
fixup: feat: add configuration options for completion trigger and style 2025-12-18 16:22:45 +01:00
bf47c00265
refactor: add palette placement mode primary_cursor 2025-12-18 15:25:22 +01:00
c166e0d379
refactor: add Editor.get_cursor_abs and Editor.get_primary_abs 2025-12-18 15:24:30 +01:00
8866e27da7
refactor: allow palettes to override widget style 2025-12-18 15:23:59 +01:00
9a5c634ea7
feat: add configuration options for completion trigger and style 2025-12-18 15:23:15 +01:00
1f67c8e2ce
refactor: add dropdown widget type 2025-12-18 15:22:48 +01:00
3c9cf07f9d
fix: avoid spamming the differ on every vcs_content frame 2025-12-17 22:32:57 +01:00
1190c99212
feat: perform gutter diffing against git HEAD if available 2025-12-17 22:11:52 +01:00
18983c00b4
refactor: do not log git rev-parse errors 2025-12-17 22:10:20 +01:00
4d1eaa767b
refactor: notify editors on vcs_content updates 2025-12-17 22:09:14 +01:00
3fb4bd6510
refactor: add mainview.get_editor_for_buffer 2025-12-17 22:06:49 +01:00
d08749123f
refactor: make Buffer.get_vcs_id and Buffer.get_vcs_content const 2025-12-17 22:00:01 +01:00
6dba3609af
feat: request vcs id and content when opening or restoring files 2025-12-17 21:33:18 +01:00
2a3210a183
refactor: store received vcs_id and vcs_content in buffer 2025-12-17 21:12:02 +01:00