Commit graph

986 commits

Author SHA1 Message Date
4762371504
Merge remote-tracking branch 'RoloEdits/icons-v2' 2025-01-04 18:22:19 +01:00
Rolo
15d091cb65 todo: outline more icon domains and sets 2025-01-04 09:03:30 -08:00
Rolo
0fb74a7160 feat: add more icons for supported languages 2025-01-04 09:03:30 -08:00
Rolo
ca36a396e6 refactor: change lsp icons to nf-cod-symbol where possible 2025-01-04 09:03:30 -08:00
Rolo
02374e4f91 doc: add description for Icons in Editor 2025-01-04 09:03:30 -08:00
Rolo
b53d8e9f6b refactor: rename mime get param from type to name 2025-01-04 09:03:30 -08:00
Rolo
287fd9aed1 refactor: rename config.rs to icons.rs and move to top level 2025-01-04 09:03:30 -08:00
Rolo
46f09ea70e perf: switch from String to SmartString 2025-01-04 09:03:30 -08:00
Rolo
1ba0e8b5ba refactor: add nerdfont defaults for common mime types 2025-01-04 09:03:30 -08:00
Rolo
7a368fcc58 perf: add #[inline] attribute to getters 2025-01-04 09:03:30 -08:00
Rolo
1eda83e3e5 chore: add comment for default diagnostic symbols 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
e9de73a4a3 feat: add dap symbols to config 2025-01-04 09:03:30 -08:00
Rolo
a8ffbaa397 lint: add 'static lifetime to const's 2025-01-04 09:03:30 -08:00
Rolo
39638b6394 feat: add support for basic icons 2025-01-04 09:03:30 -08: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
7e2bdbe6df
Merge remote-tracking branch 'backup/open' 2025-01-02 14:22:06 +01:00
65628d53e4
Merge remote-tracking branch 'color-swatches/textDocument/documentColor' 2024-12-27 21:42:33 +01:00
Sofus Addington
74a9e9e425
Pull diagnostics 2024-12-27 19:07:14 +01:00
Nikita Revenco
ffb2ae336e docs: improve description of what the calculate range inline method does 2024-12-25 18:44:55 +00:00
Nikita Revenco
aca9b4f158 refactor: inline_annotations_range moved to be on Document 2024-12-25 18:36:42 +00:00
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
d120a35740 feat: use padding for color swatches 2024-12-23 13:57:52 +00: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
0f6e008646 style: final changes, moving around structs 2024-12-20 14:56:27 +00:00
Gabriel Dinner-David
cc71969884 propogate the colours 2024-12-20 03:34:49 -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
Pascal Kuthe
1badd9e434
implement snippet tabstop support 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
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
4b5da9e667 fix: do not pass extra argument 2024-12-09 14:27:52 +00:00
Nikita Revenco
2b28ce94be fix: do not use a Cell for self.active 2024-12-09 14:23:59 +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
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
271c32f2e6
Support bindings with the Super (Cmd/Win/Meta) modifier (#6592)
Terminals which support the enhanced keyboard protocol send events for
keys pressed with the Super modifier (Windows/Linux key or the Command
key). The only changes that are needed to support this in Helix are:

* Mapping the modifier from crossterm's KeyModifiers to Helix's
  KeyModifiers.
* Representing and parsing the modifier from the KeyEvent text
  representation.
* Documenting the ability to remap it.

When writing keybindings, use 'Meta-', 'Cmd-' or 'Win-' which are all
synonymous. For example:

    [keys.normal]
    Cmd-s = ":write"

will trigger for the Windows or Linux keys and the Command key plus 's'.
2024-12-08 12:35:14 +09:00
Nikita Revenco
13d2cd1293 feat: option to Merge statusline and Command line into 1 line 2024-12-06 14:51:13 +00:00
Tomas Zemanovic
fc9968bd4b
fix: allow to parse "-" as a key code (#12191)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-12-06 08:46:38 -06:00
Nikita Revenco
a1a2cce23e feat: add :toggle-diagnostics command to hide diagnostics 2024-12-06 13:42:21 +00:00
Nikita Revenco
0dce39e0df feat: add command to toggle diagnostics does not work 2024-12-06 12:51:55 +00: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
07e7e7534d
theme: Include key names in style parsing warnings
This should make it easier to figure out why the theme-check CI job
fails. Previously the message didn't include the failing key so you
were left searching or guessing where the error occurred.
2024-12-04 10:24:42 -05:00
Michael Davis
ec1628c07f
registers: Use saved values for clipboard providers which can't read
This fixes reading from the clipboard when using the termcode provider.
Reading isn't implemented for the termcode provider so `get_contents`
returns `ClipboardError::ReadingNotSupported`. `read_from_clipboard`
needs to recognize this case and use the saved values instead of
emitting an error log and returning nothing.

Follow-up of #10839
Also see #12142
2024-12-02 10:16:17 -05:00