Blaž Hrastnik
|
b114cfa119
|
Display more data in completion popups.
|
4 years ago |
Blaž Hrastnik
|
51d1d43289
|
Double the UI picker file limit.
|
4 years ago |
Blaž Hrastnik
|
8949347e2c
|
Completion: apply additionalTextEdits.
Used for adding imports to the file when completing.
|
4 years ago |
Blaž Hrastnik
|
fae2127a11
|
Drop cx.view_id, it was used before we had cx.current.
|
4 years ago |
Blaž Hrastnik
|
ccdebb99b5
|
Drop some useless imports.
|
4 years ago |
Blaž Hrastnik
|
ff4c1d05de
|
Replace the Clear widget with buffer.clear/clear_with.
|
4 years ago |
Blaž Hrastnik
|
1255bcb8a3
|
Simplify the compositor callback.
|
4 years ago |
Blaž Hrastnik
|
0fe19ae472
|
clippy lint
|
4 years ago |
Blaž Hrastnik
|
d24844b73d
|
ui: Render command mode doc text if available.
|
4 years ago |
Blaž Hrastnik
|
f0712479cb
|
Define text color (mostly) in theme.toml.
|
4 years ago |
Blaž Hrastnik
|
f87dee926a
|
Simplify prompt autocompletion rendering code.
|
4 years ago |
Blaž Hrastnik
|
ff84c8e394
|
Command mode: Per command completers.
|
4 years ago |
Blaž Hrastnik
|
7c915dc065
|
Add the :new command, don't crash if saving without filename.
|
4 years ago |
Blaž Hrastnik
|
fd4fd12fa3
|
clippy lint
|
4 years ago |
Blaž Hrastnik
|
355ad3cb82
|
Tokio migration.
|
4 years ago |
Blaž Hrastnik
|
3038c2ef6d
|
ui: Draft for completion doc preview.
|
4 years ago |
Blaž Hrastnik
|
d559199cec
|
Stop crashing if last view is closed.
|
4 years ago |
Blaž Hrastnik
|
28c167d71d
|
doc: Be smarter about calculating modified status.
This way edit -> undo will properly show up as unmodified.
|
4 years ago |
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.
|
4 years ago |
Blaž Hrastnik
|
811f952a41
|
Center search results.
|
4 years ago |
Blaž Hrastnik
|
7493d19098
|
Re-introduce clearing with bg color, seems the TUI issue was fixed.
|
4 years ago |
Blaž Hrastnik
|
73f4abbb37
|
N as extend with search (for now, N should be search_prev).
|
4 years ago |
Blaž Hrastnik
|
978f5114d8
|
Horizontal scrolling! It only took a year to get around to it.
|
4 years ago |
Blaž Hrastnik
|
d692390d10
|
Render current line:col.
|
4 years ago |
Blaž Hrastnik
|
52da68e49a
|
Render a separator between vertical splits.
|
4 years ago |
Blaž Hrastnik
|
8b33ba2284
|
Correct the naming issue with vsplit and hsplit being swapped.
|
4 years ago |
Blaž Hrastnik
|
f0d49d3ca4
|
hack: make queries load relative to source dir for now.
We want to provide a runtime dir later on.
|
4 years ago |
Blaž Hrastnik
|
31e6bcbeb4
|
Clippy lint: replace with default -> take
|
4 years ago |
Blaž Hrastnik
|
e8298a398c
|
Fix selection rendering, it would be off by 1 if reverse.
|
4 years ago |
Blaž Hrastnik
|
0e9ecccfc1
|
clippy: Drop or-patterns for now because they're not on stable rust yet
|
4 years ago |
Blaž Hrastnik
|
7c44443994
|
Handle c-n, c-p, etc. autocompletion events.
|
4 years ago |
Blaž Hrastnik
|
95d0bba81a
|
ui: Improve completion state handling.
|
4 years ago |
Blaž Hrastnik
|
cc058ad78f
|
Simplify some code.
|
4 years ago |
Blaž Hrastnik
|
0dbd5b61ef
|
Simplify code by providin cx.current() = (view, doc).
|
4 years ago |
Blaž Hrastnik
|
ceea5eacd8
|
clippy lint
|
4 years ago |
Blaž Hrastnik
|
6c4093c946
|
Weave through view_id references so that views into one file have independent selects.
|
4 years ago |
Blaž Hrastnik
|
1b5316ea74
|
Track document modified state.
|
4 years ago |
Blaž Hrastnik
|
88bb7a1f38
|
Repeat insert command (.).
|
4 years ago |
Blaž Hrastnik
|
e833d65b77
|
Teach file picker how to find the project root (.git).
|
4 years ago |
Blaž Hrastnik
|
8098e9bdcd
|
Allow setting a status message.
|
4 years ago |
Blaž Hrastnik
|
742b3a709f
|
Store intra-files jumps (goto) on the jumplist.
|
4 years ago |
Blaž Hrastnik
|
5c2d2fda21
|
Wire up opening in splits via pickers.
|
4 years ago |
Blaž Hrastnik
|
aefafc25cd
|
Replace Mode::Goto with just using on_next_key.
|
4 years ago |
Blaž Hrastnik
|
a24c3fff54
|
Filter the completion menu based on text entered.
|
4 years ago |
Blaž Hrastnik
|
2a3910c1d9
|
wip: Async async. Delay response handling with a callback.
|
4 years ago |
Blaž Hrastnik
|
ad3325db8e
|
minor: Remove a few unwraps.
|
4 years ago |
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.
|
4 years ago |
Blaž Hrastnik
|
350081a3af
|
Fix crash if pressing enter when nothing selected in completion.
|
4 years ago |
Blaž Hrastnik
|
915fd9ebaf
|
Restore buffer_picker.
|
4 years ago |
Blaž Hrastnik
|
8a0ab447ec
|
editor.open can now either replace the current view or open in a split.
|
4 years ago |