Commit graph

6134 commits

Author SHA1 Message Date
Nikita Revenco
67552f6aa2 refactor: rename function
refactor: rename function
2024-12-25 18:29:31 +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
Nikita Revenco
7c40fbf555 chore: apply suggestion from clippy lint 2024-12-23 15:41:13 +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
54ff7a561f
refactor: check for is_none
Co-authored-by: TornaxO7 <tornax@proton.me>
2024-12-23 13:36:59 +00:00
Nikita Revenco
5f59c191f5 refactor: merge into one statement 2024-12-20 16:10:41 +00:00
Nikita Revenco
fbdfe74b0c docs: mention display-color-swatches 2024-12-20 16:06:59 +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
0f6e008646 style: final changes, moving around structs 2024-12-20 14:56:27 +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
9185448259 feat: remove unneeded comment 2024-12-19 23:23:55 +00:00
Nikita Revenco
c901c17ef8 feat: use different color 2024-12-19 21:20:51 +00: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
Michael Davis
6eb186eb7b
helix-lsp-types: use bitflags::bitflags rather than extern crate
This seems to be a historical artifact in `lsp_types` - we can use a
regular `use` statement to pull in the `bitflags!` macro rather than
an external crate definition. This fixes rust-analyzer's ability to find
the macro at least on rust-analyzer 2024-02-26.
2024-12-17 15:42:36 -05:00
Michael Davis
1980bd5992
helix-lsp-types: Prefer crate::Url to url::Url
This is a cosmetic change to replace all direct `use`s of the `url::Url`
type in the `helix-lsp-types` crate with `use crate::Url;`. The types
are the same type currently: this refactor will make a future
replacement of the Url type less noisy.

Connects https://github.com/helix-editor/helix/pull/11889
2024-12-17 15:42:28 -05:00
Tim Sampson
cc3b77b584
dockerfile: bump tree-sitter grammar to gain support for heredocs (#12230) 2024-12-17 13:26:49 -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
Pascal Kuthe
c8c0d04168
add snippet system to helix core 2024-12-17 13:34:39 -05:00
Pascal Kuthe
db959274d4
Add range type to helix stdx 2024-12-17 13:34:39 -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
André Sá
67535804a5
Fix build from source with Spade tree-sitter grammar (#12276) 2024-12-16 14:44:28 -06:00
Michael Davis
bae6a58c3c
Add block-comment-tokens configuration for Java
Ref https://github.com/helix-editor/helix/pull/12266#issuecomment-2546370787
2024-12-16 14:02:35 -05: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
Nikita Revenco
99fdbce566
docs: remove mention that - requires special handling (#12250) 2024-12-16 10:01:14 -06:00
David Else
9b14750e56
Add ltex-ls-plus language server (#12251) 2024-12-16 09:37:49 -06:00
TornaxO7
4e5b0644a2
language: add comment token for java files (#12266) 2024-12-16 09:24:04 -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
RoloEdits
617f538d41
feat(highlights): add COMPLIANCE to error (#12244) 2024-12-13 13:26:08 -06:00
Yuki Kobayashi
ce133a2889
languages(v): use vlang/v-analyzer instead of v-analyzer/v-analyzer (#12236)
* use vlang/v-analyzer instead of v-analyzer/v-analyzer

* revert rev, because CI failed (couldn't repro working query-check locally, so not sure if this will work)
2024-12-13 12:09:24 +09:00
TornaxO7
89a7cde2f0
Fix continuing comment token for first line (#12215) 2024-12-10 13:24:34 -06:00
TornaxO7
51ac3e05e0
doc: fix default value in doc for continue-comments (#12235) 2024-12-10 13:19:31 -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