Commit graph

954 commits

Author SHA1 Message Date
99a3c56df3 Merge remote-tracking branch 'color-completion/colored-color-completions-fix' 2025-01-12 10:32:11 +01:00
Nikita Revenco
a65dba181b fix: check for the color pattern against the end 2025-01-12 08:49:19 +00:00
0cffc49cbb Merge remote-tracking branch 'filebrowser/add-file-browser' 2025-01-09 17:45:18 +01:00
Denys Rybalka
996ee93e41
Normalize path in file browser 2025-01-08 08:26:11 +01:00
4762371504
Merge remote-tracking branch 'RoloEdits/icons-v2' 2025-01-04 18:22:19 +01:00
Rolo
b587baa728 refactor: tweak with bufferline icon spacing 2025-01-04 09:03:30 -08:00
Rolo
e1476b37b5 refactor: small renames for better clarity 2025-01-04 09:03:30 -08:00
Rolo
041192eaae refactor: remove Default impls and add config parsing 2025-01-04 09:03:30 -08:00
Rolo
39638b6394 feat: add support for basic icons 2025-01-04 09:03:30 -08:00
5ae34222e2
Merge remote-tracking branch 'irh/clickable-bufferline' 2025-01-04 17:56:48 +01:00
6589a46e12
Merge remote-tracking branch 'nikitarevenco/toggle-diagnostics' 2025-01-04 17:53:44 +01:00
b1ea2cd7db
Merge remote-tracking branch 'merge-status-line/merge-statusline-cmdline' 2025-01-04 17:33:43 +01:00
1904e7e669
Merge remote-tracking branch 'upstream/master' 2025-01-03 16:57:23 +01:00
5ffffdee69
Merge remote-tracking branch 'filebrowser/add-file-browser' 2025-01-03 16:55:29 +01:00
Michael Davis
073efe48f9
minor: Setup default keymap directly in xtask docgen
Instantiating EditorView is a lot of machinery which is unnecessary:
the default keymap is exposed through the `default` function in the
keymap module.
2024-12-28 21:42:09 -05:00
65628d53e4
Merge remote-tracking branch 'color-swatches/textDocument/documentColor' 2024-12-27 21:42:33 +01:00
e70ebf7df4
Merge remote-tracking branch 'upstream/master' 2024-12-26 23:36:52 +01:00
Nikita Revenco
74b5705f65 perf: use a single iteration over the views of a document 2024-12-25 18:08:58 +00:00
Denys Rybalka
52a9cef7b0
Style directories in file browser 2024-12-23 23:59:28 +01:00
Denys Rybalka
123378462b
Do not resolve symlinks in file browser 2024-12-23 18:59:40 +01:00
Denys Rybalka
006359c37f
Distinguish dirs visually in file_browser 2024-12-23 18:59:40 +01:00
Denys Rybalka
7902fc5631
Add parent folder to file browser 2024-12-23 18:59:40 +01:00
Denys Rybalka
02edda12e9
Pass directory content into picker directly 2024-12-23 18:59:40 +01:00
Denys Rybalka
bb1722a528
Implement opening of folders 2024-12-23 18:59:40 +01:00
Denys Rybalka
b1dcd96ab5
Add file browser 2024-12-23 18:59:39 +01:00
Nikita Revenco
ba6e6dc3dd
Colors for items in the completion menu (#12299) 2024-12-20 10:16:15 -06:00
Nikita Revenco
105be47e8a refactor: remove unused imports 2024-12-20 14:57:41 +00:00
Nikita Revenco
3f8731f003 refactor: extract ColorSwatch into a separate struct 2024-12-20 14:46:10 +00:00
Gabriel Dinner-David
cc71969884 propogate the colours 2024-12-20 03:34:49 -05:00
Gabriel Dinner-David
68c52a2435 hack the text_decorations to make this work 2024-12-19 23:46:17 -05:00
Nikita Revenco
1c3caf525e feat: basic implementation 2024-12-19 21:09:05 +00:00
Nikita Revenco
355e381626
feat: use ui.text.directory for path completion item if its a folder (#12295) 2024-12-19 14:36:54 -06:00
Nikita Revenco
91a5d407da
Allow theming directory prompt completions (#12205) 2024-12-17 21:13:42 -06:00
Pascal Kuthe
1badd9e434
implement snippet tabstop support 2024-12-17 13:34:40 -05:00
Pascal Kuthe
66fb1e67c0
add fallback onNextKey
adds a variant of on_next_key callbacks that are only called when no other
mapping matches a key
2024-12-17 13:34:40 -05:00
b03983e33a
Merge remote-tracking branch 'helix-pull/pull-diagnostics' 2024-12-14 20:52:28 +01:00
Takumi Matsuura
e14c346ee7
Fix panic in kill_to_end_of_line when handling multibyte characters (#12237) 2024-12-13 14:04:52 -06:00
130a3b61ab
Merge remote-tracking branch 'filebrowser/add-file-browser' 2024-12-11 21:04:28 +01:00
Nikita Revenco
9bf3262152 refactor: evaluate enable_diagnostics first 2024-12-09 15:55:43 +00:00
Nikita Revenco
069ca339a6 feat: complete implementation for toggle diagnostics option 2024-12-09 14:18:17 +00:00
Nikita Revenco
be3dea5468 feat: attempt at getting config option to disable diagnostics working 2024-12-09 13:57:54 +00:00
Nikita Revenco
8271a35be2 feat: config option for toggling diagnostics 2024-12-09 04:45:28 +00:00
Nikita Revenco
08deeb48b8 chore: remove pointless comment 2024-12-08 13:47:00 +00:00
Nikita Revenco
13d2cd1293 feat: option to Merge statusline and Command line into 1 line 2024-12-06 14:51:13 +00:00
Nikita Revenco
a1a2cce23e feat: add :toggle-diagnostics command to hide diagnostics 2024-12-06 13:42:21 +00:00
Ian Hobson
4c8175ca04 Draw each message line separately in draw_eol_diagnostic
`set_string_truncated` renders the entire string while ignoring
newlines, so if the diagnostic's message contains multiple lines it
produces messages like 'first linesecond line'.

To avoid these run-ons, this commit renders each line separately,
inserting double spaces for disambiguation.
2024-12-04 18:23:30 -06:00
Ian Hobson
715a13b2d3 Remove an incorrect comment
This was copied from the function above (set_style). I don't know enough
about the function to suggest an alternative.
2024-12-04 18:23:30 -06:00
Ian Hobson
3af529d868 Add support for clicking on the bufferline to select a buffer
Co-authored-by: Kyle Smith <kyle.smith@salsify.com>
2024-12-02 15:38:00 +01:00
RoloEdits
5ba97ba41e
fix(clippy): clippy 1.83 lints (#12150) 2024-12-02 08:23:32 -06:00
Philipp Mildenberger
dc941d6d24
Add support for path completion (#2608)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Co-authored-by: Pascal Kuthe <pascalkuthe@pm.me>
2024-11-21 21:12:36 -06:00