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
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
Nikita Revenco
253bdeffc7
perf: use with_capacity
since we know size of the vec
2024-12-20 15:58:49 +00:00
Nikita Revenco
857467f8da
feat: add space
2024-12-20 15:07:39 +00: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
Nikita Revenco
0c50ce1432
refactor: move inlay hints computation function earlier
2024-12-20 14:35:55 +00:00
Nikita Revenco
0ce04ea455
feat: move inlay_hints computations earlier
2024-12-20 14:35:03 +00:00
Nikita Revenco
0b71472406
refactor: compute_lines function
2024-12-20 14:32:32 +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
91a5d407da
Allow theming directory prompt completions ( #12205 )
2024-12-17 21:13:42 -06:00
Christian Schneider
fcded6ce1e
Trim trailing colons from paths to allow copy/pasting git grep -n output ( #9963 )
...
Co-authored-by: Christian Schneider <schneider@search.ch>
2024-12-17 13:02:06 -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
Pascal Kuthe
609c29bf7e
add DocumentFocusLost event
2024-12-17 13:34:40 -05:00
Pascal Kuthe
5537e68b5e
add changes
and ghost_transaction
to DocumentDidChange events
2024-12-17 13:34:40 -05:00
dependabot[bot]
312c64f0c2
build(deps): bump the rust-dependencies group with 10 updates ( #12277 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-16 18:48:13 -06:00
Integral
250d9fa8fe
Avoid allocating the --help
message ( #12243 )
2024-12-16 11:16:48 -06:00
Aaalibaba
3b36cf1a15
Expand tildes in :read
command ( #12271 )
2024-12-16 11:10:35 -06: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
TornaxO7
89a7cde2f0
Fix continuing comment token for first line ( #12215 )
2024-12-10 13:24:34 -06:00
TornaxO7
5005c14e99
Add config option for continue commenting ( #12213 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-12-09 17:31:41 -06:00
Nikita Revenco
db1d84256f
fix: report correct amount of files opened and improved error message when Helix can't parse directory as file ( #12199 )
...
* feat: improve information on the amount of files loaded
* refactor: naming consitency Doc and not Buf
* fix: correct name of method
* chore: appease clippy
* feat: more human error information when Helix cannot start
* refatcor: use if guard on match arm
2024-12-08 20:14:29 +09:00
Michael Davis
28953ef40f
Simplify change_current_directory
and remove extra allocs
2024-12-05 18:50:31 -05:00
Nikita Revenco
93deb1f6ae
feat: :cd -
changes to the previous working directory ( #12194 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-12-05 17:40:37 -06:00
Michael Davis
fd3e889927
Add integration tests for line comment continuation
2024-12-05 20:53:53 +09:00
Michael Davis
1e6fe00001
Trim all trailing whitespace on insert_newline
2024-12-05 20:53:53 +09: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
Nikita Revenco
565bfbba25
feat: :cd
with no args changes to home directory ( #12042 )
2024-12-04 18:09:33 -06:00
Tomasz Zurkowski
7a2afdc080
Show an error when formatter is not available ( #12183 )
2024-12-04 08:27:54 -06:00
Michael Davis
085c4fe4c8
docs: Eliminate improper use of "LSP" term
...
Sometimes we used "LSP" to mean "language server". This change
eliminates the improper "LSP" usage.
Ref https://github.com/helix-editor/helix/pull/12183#discussion_r1868436105
2024-12-03 18:29:44 -05:00
dependabot[bot]
cf81e15315
build(deps): bump the rust-dependencies group with 3 updates ( #12181 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-02 18:27:49 -06:00
RoloEdits
5ba97ba41e
fix(clippy): clippy 1.83 lints ( #12150 )
2024-12-02 08:23:32 -06:00
Poliorcetics
0f4729289b
fix: Remove leftover debug println! ( #12138 )
...
Introduced in dc941d6d24
2024-11-27 20:05:18 +09:00
Milan Vaško
7676106960
Search selection with word boundary detection ( #12126 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-11-26 13:30:53 -06:00
dependabot[bot]
80709cee61
build(deps): bump the rust-dependencies group with 4 updates ( #12129 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-25 18:06:54 -06:00
RoloEdits
cbbeca6c52
fix(clippy): suppress unused
lint on windows ( #12107 )
2024-11-22 08:10:11 -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
yehor
9e171e7d1d
Add default-yank-register option ( #11430 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-11-20 17:24:55 -06:00
Alfie Richards
68ee87695b
Add clipboard provider configuration ( #10839 )
2024-11-20 16:06:23 -06:00
Michael Davis
59b020ec91
Save an undo checkpoint before paste in insert mode ( #8121 )
2024-11-20 16:02:10 -06:00
dependabot[bot]
f06f481ad9
build(deps): bump the rust-dependencies group with 5 updates ( #12088 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-20 15:56:56 -06:00