Commit graph

2610 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
82e09c04a0 fix: Broken trim_whitespace fn 2025-01-09 17:44:52 +01:00
0f2fbd2b6f Merge remote-tracking branch 'helix-pull/pull-diagnostics' 2025-01-09 17:39:40 +01:00
Denys Rybalka
996ee93e41
Normalize path in file browser 2025-01-08 08:26:11 +01:00
RoloEdits
f80ae997f2
perf: cache Documents relative path (#12385) 2025-01-05 16:29:16 -06:00
Sofus Addington
69025dde28
Pull diagnostics 2025-01-05 20:52:59 +01:00
RoloEdits
64b38d1a28
refactor(shellwords)!: change arg handling strategy (#11149) 2025-01-05 12:18:30 -06: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
63517ee4e7
Merge remote-tracking branch 'trim/trailing-whitespace' 2025-01-03 17:02:40 +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
7e2bdbe6df
Merge remote-tracking branch 'backup/open' 2025-01-02 14:22:06 +01:00
kirawi
d75bafac8a try uid test again 2024-12-31 01:20:52 -05:00
Jean Abou Samra
9cc056e755
fix (hx --health): Don't print headers in white (#12355) 2024-12-29 10:38:28 -06: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
RoloEdits
19c91dfb80
fix: string literals with format args not in format! (#12354) 2024-12-28 07:44:16 -06:00
65628d53e4
Merge remote-tracking branch 'color-swatches/textDocument/documentColor' 2024-12-27 21:42:33 +01:00
018f64124f
Merge remote-tracking branch 'helix-pull/pull-diagnostics' 2024-12-27 21:39:29 +01:00
Sofus Addington
74a9e9e425
Pull diagnostics 2024-12-27 19:07:14 +01:00
e70ebf7df4
Merge remote-tracking branch 'upstream/master' 2024-12-26 23:36:52 +01:00
Nikita Revenco
aca9b4f158 refactor: inline_annotations_range moved to be on Document 2024-12-25 18:36:42 +00:00
Nikita Revenco
db8ac503f4 refactor: rename several variables 2024-12-25 18:21:55 +00:00
Nikita Revenco
74b5705f65 perf: use a single iteration over the views of a document 2024-12-25 18:08:58 +00:00
Michael Davis
c262fe41ab
Consistently replace line-endings in paste/replace commands
Previously we replaced line-endings in pasted text to the document
line-ending for some values in paste commands. We missed the `repeat`
values in paste though and didn't do any replacement in the replace
command.

Along with this change I've refactored the replace command to avoid
intermediary collections. We previously eagerly collected the values
from the input register as a `Vec<String>` but we can avoid both of
those conversions and only allocate for the conversion to a `Tendril`.
We can also switch from `str::repeat` to a manual implementation to
avoid the intermediary conversion to a String - this avoids an extra
allocation in the common case (i.e. no count).

Fixes #12329
2024-12-25 11:38:44 -05:00
dependabot[bot]
a074129f9c
build(deps): bump the rust-dependencies group with 7 updates (#12327)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-12-25 10:05:50 -06:00
Denys Rybalka
52a9cef7b0
Style directories in file browser 2024-12-23 23:59:28 +01:00
Denys Rybalka
0b01885059
Add file_browser for cwd and workspace root 2024-12-23 18:59:40 +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
ff833b79e7
Open file browser in cwd when no buffer path 2024-12-23 18:59:40 +01:00
Denys Rybalka
268eac8c00
Open file browser in buffer's directory 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
d120a35740 feat: use padding for color swatches 2024-12-23 13:57:52 +00:00
Nikita Revenco
ca5c96b982 refactor: use let else statement 2024-12-23 13:54:12 +00:00
Nikita Revenco
cd9512cbce refactor: use let else statement 2024-12-23 13:45:57 +00:00
Nikita Revenco
c7520c3550 refactor: rename variable 2024-12-23 13:43:10 +00:00
Nikita Revenco
6db63d4632 refactor: use let else statement 2024-12-23 13:41:28 +00:00
Michael Davis
4f63a46e14
minor: Remove redundant condition in shell pipe trimming
`output.ends_with('\n')` implies `!output.is_empty()`

Connects #11183
2024-12-22 09:42:37 -05:00