Commit graph

6380 commits

Author SHA1 Message Date
Michael Davis
cebdc599d6
style - simplify option handling 2024-12-20 11:08:33 -05:00
Nikita Revenco
fbdfe74b0c docs: mention display-color-swatches 2024-12-20 16:06:59 +00:00
cornishon
a91263d604
Odin textobjects (#12302)
Co-authored-by: Adam Zadrożny <zadroznyadam@protonmail.com>
2024-12-20 09:59:28 -06:00
Nikita Revenco
253bdeffc7 perf: use with_capacity since we know size of the vec 2024-12-20 15:58:49 +00:00
Ian Hobson
06d0f33c94
Add Koto language support (#12307) 2024-12-20 09:56:13 -06:00
Eduardo Rittner Coelho
eaff0c3cd6
Document diagnostic severity levels (#12306) 2024-12-20 09:47:06 -06:00
uncenter
1e9412269a
Sync Catppuccin theme changes (#12304) 2024-12-20 09:43:45 -06: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
Nikita Revenco
98e408f603 refactor: use .into() instead of explicit Spans::raw 2024-12-20 06:58:31 +00: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
e55e8863c8 docs: distinction between "color" and "hex color" 2024-12-19 21:58:53 +00:00
Nikita Revenco
8bfff23bb9 fix: remove unnecessary log statement 2024-12-19 21:50:00 +00:00
Nikita Revenco
52ce26ccec refactor: kind is Spans 2024-12-19 21:46:11 +00:00
Nikita Revenco
3d8dc157a0 perf: avoid unnecessary string allocation 2024-12-19 21:35:15 +00:00
Nikita Revenco
f29f336c4d feat: resolve merge conflicts 2024-12-19 21:33:37 +00:00
Nikita Revenco
c2e24a44ac feat: reject a set of invalid inputs for Color::from_hex 2024-12-19 21:31:02 +00:00
Nikita Revenco
530748db96 docs: missing semicolon 2024-12-19 21:31:02 +00:00
Nikita Revenco
1cc2235828 docs: use Color in doc test 2024-12-19 21:31:02 +00:00
Nikita Revenco
8e17b7424c refactor: better variable naming 2024-12-19 21:31:02 +00:00
Nikita Revenco
0e7b3925c5 docs: place in the correct position 2024-12-19 21:31:02 +00:00
Nikita Revenco
b00cac307a docs: use unwrap in example to extract from Option 2024-12-19 21:31:02 +00:00
Nikita Revenco
6617f1209c docs: add doc for from_hex 2024-12-19 21:31:02 +00:00
Nikita Revenco
aed0f8d1f8 refactor: remove extra variable assignment 2024-12-19 21:31:02 +00:00
Nikita Revenco
fc54f2e51a fix: "color" for items with documentation but a hex value which cannot be parsed 2024-12-19 21:31:02 +00:00
Nikita Revenco
662b6d3e53 refactor: rename variable for consistency 2024-12-19 21:31:02 +00:00
Nikita Revenco
1a2b6166cd feat: use "color" text for accessibility next to a small colored cube 2024-12-19 21:31:02 +00:00
Nikita Revenco
73286a1497 refactor: do not return early 2024-12-19 21:30:34 +00:00
Nikita Revenco
495adf7b63 refactor: extract into a from_hex method on Color 2024-12-19 21:30:01 +00:00
Nikita Revenco
d9919798cc refactor: use an array of ranges 2024-12-19 21:30:01 +00:00
Nikita Revenco
3097c7efd0 feat: remove dependency 2024-12-19 21:30:01 +00:00
Nikita Revenco
fbbb045d87 refactor: do not use extra dependency 2024-12-19 21:30:01 +00:00
Nikita Revenco
b7f7e2528b feat: do not add unnecessary custom method 2024-12-19 21:30:01 +00:00
Nikita Revenco
f1281b1634 perf: do not use unnecessary clone 2024-12-19 21:30:01 +00:00
Nikita Revenco
22259e3a8c refactor: better variable naming 2024-12-19 21:30:01 +00:00
Nikita Revenco
565c981107 refactor: no longer need so many .into() 2024-12-19 21:30:01 +00:00
Nikita Revenco
2b0c425cc6 feat: larger boxess 2024-12-19 21:26:41 +00:00
Nikita Revenco
a0a622d20d feat: show color boxes in color completion 2024-12-19 21:26:41 +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
355e381626
feat: use ui.text.directory for path completion item if its a folder (#12295) 2024-12-19 14:36:54 -06:00
Tobias Hunger
cbc06d1f15
chore: Update slint tree-sitter grammar to version 1.9 (#12297) 2024-12-19 10:16:12 -06:00
Eduardo Rittner Coelho
9e4da4b950
Show parser availability in --health [LANG] (#12228) 2024-12-18 11:21:58 -06:00