Blaž Hrastnik
|
d708efe275
|
Fix cursor positioning for prompts
|
2021-05-29 00:06:23 +09:00 |
|
Blaž Hrastnik
|
3336023614
|
ui: Menu rendering adjustments
|
2021-05-28 00:01:17 +09:00 |
|
Blaž Hrastnik
|
094203c74e
|
Update deps, introduce the new tree-sitter lifetimes
|
2021-05-28 00:00:51 +09:00 |
|
Blaž Hrastnik
|
b114cfa119
|
Display more data in completion popups.
|
2021-05-22 17:33:42 +09:00 |
|
Blaž Hrastnik
|
51d1d43289
|
Double the UI picker file limit.
|
2021-05-18 17:53:58 +09:00 |
|
Blaž Hrastnik
|
8949347e2c
|
Completion: apply additionalTextEdits.
Used for adding imports to the file when completing.
|
2021-05-17 16:35:34 +09:00 |
|
Blaž Hrastnik
|
fae2127a11
|
Drop cx.view_id, it was used before we had cx.current.
|
2021-05-15 10:50:36 +09:00 |
|
Blaž Hrastnik
|
ccdebb99b5
|
Drop some useless imports.
|
2021-05-09 18:32:40 +09:00 |
|
Blaž Hrastnik
|
ff4c1d05de
|
Replace the Clear widget with buffer.clear/clear_with.
|
2021-05-09 18:13:50 +09:00 |
|
Blaž Hrastnik
|
1255bcb8a3
|
Simplify the compositor callback.
|
2021-05-09 18:02:31 +09:00 |
|
Blaž Hrastnik
|
0fe19ae472
|
clippy lint
|
2021-05-08 18:26:49 +09:00 |
|
Blaž Hrastnik
|
d24844b73d
|
ui: Render command mode doc text if available.
|
2021-05-08 17:33:06 +09:00 |
|
Blaž Hrastnik
|
f0712479cb
|
Define text color (mostly) in theme.toml.
|
2021-05-07 17:42:09 +09:00 |
|
Blaž Hrastnik
|
f87dee926a
|
Simplify prompt autocompletion rendering code.
|
2021-05-07 17:31:28 +09:00 |
|
Blaž Hrastnik
|
ff84c8e394
|
Command mode: Per command completers.
|
2021-05-07 17:19:45 +09:00 |
|
Blaž Hrastnik
|
7c915dc065
|
Add the :new command, don't crash if saving without filename.
|
2021-05-07 14:19:58 +09:00 |
|
Blaž Hrastnik
|
fd4fd12fa3
|
clippy lint
|
2021-05-06 17:20:00 +09:00 |
|
Blaž Hrastnik
|
355ad3cb82
|
Tokio migration.
|
2021-05-06 13:56:34 +09:00 |
|
Blaž Hrastnik
|
3038c2ef6d
|
ui: Draft for completion doc preview.
|
2021-05-03 18:22:29 +09:00 |
|
Blaž Hrastnik
|
d559199cec
|
Stop crashing if last view is closed.
|
2021-05-03 17:46:14 +09:00 |
|
Blaž Hrastnik
|
28c167d71d
|
doc: Be smarter about calculating modified status.
This way edit -> undo will properly show up as unmodified.
|
2021-05-03 17:23:11 +09:00 |
|
Blaž Hrastnik
|
3e5f24a9d5
|
lsp: support both utf-8 and utf-16 offsets.
Still need to implement the clangd encoding negotiation, but it's
a start. Should also manually override to utf8 for pyls.
|
2021-04-14 15:39:31 +09:00 |
|
Blaž Hrastnik
|
811f952a41
|
Center search results.
|
2021-04-14 15:39:31 +09:00 |
|
Blaž Hrastnik
|
7493d19098
|
Re-introduce clearing with bg color, seems the TUI issue was fixed.
|
2021-04-10 00:25:46 +09:00 |
|
Blaž Hrastnik
|
73f4abbb37
|
N as extend with search (for now, N should be search_prev).
|
2021-04-10 00:21:13 +09:00 |
|
Blaž Hrastnik
|
978f5114d8
|
Horizontal scrolling! It only took a year to get around to it.
|
2021-04-09 19:29:01 +09:00 |
|
Blaž Hrastnik
|
d692390d10
|
Render current line:col.
|
2021-04-09 18:57:46 +09:00 |
|
Blaž Hrastnik
|
52da68e49a
|
Render a separator between vertical splits.
|
2021-04-08 22:34:06 +09:00 |
|
Blaž Hrastnik
|
8b33ba2284
|
Correct the naming issue with vsplit and hsplit being swapped.
|
2021-04-08 15:52:04 +09:00 |
|
Blaž Hrastnik
|
f0d49d3ca4
|
hack: make queries load relative to source dir for now.
We want to provide a runtime dir later on.
|
2021-04-07 18:05:59 +09:00 |
|
Blaž Hrastnik
|
31e6bcbeb4
|
Clippy lint: replace with default -> take
|
2021-04-07 16:58:23 +09:00 |
|
Blaž Hrastnik
|
e8298a398c
|
Fix selection rendering, it would be off by 1 if reverse.
|
2021-04-07 16:57:58 +09:00 |
|
Blaž Hrastnik
|
0e9ecccfc1
|
clippy: Drop or-patterns for now because they're not on stable rust yet
|
2021-04-06 19:51:15 +09:00 |
|
Blaž Hrastnik
|
7c44443994
|
Handle c-n, c-p, etc. autocompletion events.
|
2021-04-06 15:34:52 +09:00 |
|
Blaž Hrastnik
|
95d0bba81a
|
ui: Improve completion state handling.
|
2021-04-05 18:23:37 +09:00 |
|
Blaž Hrastnik
|
cc058ad78f
|
Simplify some code.
|
2021-04-01 11:04:25 +09:00 |
|
Blaž Hrastnik
|
0dbd5b61ef
|
Simplify code by providin cx.current() = (view, doc).
|
2021-04-01 11:01:26 +09:00 |
|
Blaž Hrastnik
|
ceea5eacd8
|
clippy lint
|
2021-03-31 23:42:16 +09:00 |
|
Blaž Hrastnik
|
6c4093c946
|
Weave through view_id references so that views into one file have independent selects.
|
2021-03-31 17:17:01 +09:00 |
|
Blaž Hrastnik
|
1b5316ea74
|
Track document modified state.
|
2021-03-30 18:23:12 +09:00 |
|
Blaž Hrastnik
|
88bb7a1f38
|
Repeat insert command (.).
|
2021-03-30 18:19:27 +09:00 |
|
Blaž Hrastnik
|
e833d65b77
|
Teach file picker how to find the project root (.git).
|
2021-03-30 10:14:50 +09:00 |
|
Blaž Hrastnik
|
8098e9bdcd
|
Allow setting a status message.
|
2021-03-29 16:47:02 +09:00 |
|
Blaž Hrastnik
|
742b3a709f
|
Store intra-files jumps (goto) on the jumplist.
|
2021-03-29 16:32:42 +09:00 |
|
Blaž Hrastnik
|
5c2d2fda21
|
Wire up opening in splits via pickers.
|
2021-03-29 15:21:48 +09:00 |
|
Blaž Hrastnik
|
aefafc25cd
|
Replace Mode::Goto with just using on_next_key.
|
2021-03-29 15:04:29 +09:00 |
|
Blaž Hrastnik
|
a24c3fff54
|
Filter the completion menu based on text entered.
|
2021-03-27 12:08:44 +09:00 |
|
Blaž Hrastnik
|
2a3910c1d9
|
wip: Async async. Delay response handling with a callback.
|
2021-03-26 17:12:45 +09:00 |
|
Blaž Hrastnik
|
ad3325db8e
|
minor: Remove a few unwraps.
|
2021-03-26 11:03:14 +09:00 |
|
Blaž Hrastnik
|
e3c4edae32
|
Add the machinery to load syntax config from TOML.
It's embedded into the binary at build time for now, but it's progress.
|
2021-03-25 15:26:25 +09:00 |
|