Nikita Revenco
6576e92333
refactor: do not use unnecessary type hint
2025-01-16 17:44:31 +00:00
Nikita Revenco
26c230cea0
fix: failing tests
2025-01-16 17:28:56 +00:00
Nikita Revenco
0d21faf712
docs: better description of MouseClicks
2025-01-16 17:26:33 +00:00
Nikita Revenco
931b8d9a31
refactor: simplify internal MouseClicks code
2025-01-16 17:23:27 +00:00
Nikita Revenco
c4672ed902
test: add tests for MouseClicks
2025-01-16 16:59:53 +00:00
Nikita Revenco
7694517d0f
docs: make docs more informative
2025-01-16 16:12:05 +00:00
Nikita Revenco
395f4bf877
docs: document the clicks field
2025-01-16 16:10:04 +00:00
Nikita Revenco
056e2ffbb2
fix: clicking the same char indexes in different views triggered double / triple click
2025-01-16 16:06:13 +00:00
Nikita Revenco
82401d87b7
fix: double click not registering after the first one
2025-01-13 09:16:14 +00:00
Nikita Revenco
6fbe9fe0bf
refactor: variable names
2025-01-13 09:01:39 +00:00
Nikita Revenco
7537b0c25b
refactor: use u8 for count
2025-01-13 08:40:18 +00:00
Nikita Revenco
7add058abc
chore: add documentation
2025-01-12 21:36:48 +00:00
Nikita Revenco
a60dc2d085
refactor: reverse &&
2025-01-12 21:34:06 +00:00
Nikita Revenco
a9a1e69f09
chore: remove comment
2025-01-12 21:32:39 +00:00
Nikita Revenco
c43074abdb
fix: 4th click on the same spot will reset the selection
2025-01-12 21:30:07 +00:00
Nikita Revenco
64390df159
refactor: extract duplicated logic
2025-01-12 20:53:00 +00:00
Nikita Revenco
78bfdb680f
refactor: rename variables
2025-01-12 20:45:18 +00:00
Nikita Revenco
b3831c032e
refactor: move impl to a proper mod
2025-01-12 20:35:29 +00:00
Nikita Revenco
6c19d2c1c4
feat: implement double click and single click selection
2025-01-12 20:31:49 +00:00
Nikita Revenco
30b592fed9
refactor: clean up code and remove debugging statements
2025-01-12 20:10:23 +00:00
Nikita Revenco
2b76e839ad
refactor: use enum for mouse click type
2025-01-12 20:07:25 +00:00
Nikita Revenco
897569fa64
fix: correct functions for double and triple click
2025-01-12 20:01:16 +00:00
Nikita Revenco
2491522c87
feat: basic MouseClicks struct
2025-01-12 17:40:50 +00:00
uncenter
6c9619d094
Improve markdown heading highlights ( #12417 )
2025-01-05 16:35:09 -06:00
uncenter
e856dde738
Use `@attribute` scope for JSX attributes ( #12416 )
2025-01-05 16:33:08 -06:00
RoloEdits
f80ae997f2
perf: cache `Document`s relative path ( #12385 )
2025-01-05 16:29:16 -06:00
RoloEdits
64b38d1a28
refactor(shellwords)!: change arg handling strategy ( #11149 )
2025-01-05 12:18:30 -06:00
Seigo Mori
377e36908a
Add cursorline color to iceberg theme ( #12404 )
2025-01-05 10:58:31 -06:00
Nikita Revenco
fa4aa0fb42
docs: catppuccin themes should not be directly edited here ( #12400 )
...
Co-authored-by: uncenter <47499684+uncenter@users.noreply.github.com>
2025-01-05 10:55:28 -06:00
Nikita Revenco
2b8f8df1af
feat: correct Swift highlights ( #12409 )
...
- Adds injections for the `comment` language
- Correct highlight of the `nil` value. Same highlight as `null` in javascript, java and others
- Recognize `<` and `>` as punctuation, used in generics (same color as the syntax used in other languages)
- `protocol` function methods are recognized
- When accessing object properties, like `hello.world`, the `world` is properly recognized as being a member
- Recognize the `\` as an operator
2025-01-05 10:54:45 -06:00
Nikita Revenco
eed052e86b
feat: highlight `:` as a delimiter in Rust ( #12408 )
2025-01-05 10:51:33 -06:00
Erasin Wang
0654a1f058
Update onelight theme ( #12399 )
2025-01-05 10:27:38 -06:00
RoloEdits
353176082e
doc: generate `lang-support.md` for `teal` ( #12402 )
2025-01-05 01:11:10 +09:00
André L. Alvares
b47b946c47
Fix Teal LSP name. ( #12395 )
2025-01-04 11:49:44 +09:00
Will Faught
827deba74c
Change Cwd to Cmd ( #12396 )
2025-01-03 20:23:21 -05:00
Michael Davis
dabfb6ceea
Add changelog notes for 25.01 ( #12347 )
2025-01-03 13:50:51 -06:00
Niza Toshpulatov
9dcc1f06b0
Add dim modifier to diagnostic.unnecessary in catppuccin_mocha.toml ( #12391 )
2025-01-03 08:13:44 -06:00
David Crespo
eaa7c8e9f6
docs: fix typo in usage.md ( #12390 )
2025-01-03 08:11:37 -06:00
Michael Davis
4817bfa003
minor: fix syntax tree pretty print test
...
This case needs to be adjusted for the escaping added in 38e8382b
2025-01-02 15:44:04 -05:00
Michael Davis
e0bccd2c58
tsq: Tune highlights to more closely match 24.07 release
...
The changes in #12148 were a bit radical - this restores some
customizations we had like using "label" for captures and not
highlighting the '#' or '?'/'!' parts differently. Also the highlighting
for predicates we do (not) support has been restored.
2025-01-02 15:37:18 -05:00
Michael Davis
38e8382b01
Escape double quotes for anonymous nodes in :tree-sitter-subtree
...
If the anonymous node contained a double quote it would throw off the
highlighting.
2025-01-02 15:33:48 -05:00
Darshan Kumawat
c9cc14728f
Update hyprland langugauge file type. ( #12384 )
2025-01-02 08:39:02 -06:00
Sebastian Dörner
b1759f998d
Migrate to an improved proto grammar ( #12225 )
2024-12-31 13:41:53 -06:00
Samuel Selleck
4a59f68a0d
LSP Client: Accept floats with trailing zeros as valid JSONRPC IDs ( #12376 )
2024-12-31 12:45:47 -06:00
dependabot[bot]
2b4a77b9bf
build(deps): bump the rust-dependencies group with 2 updates ( #12371 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-31 09:12:48 -06:00
Egor Afanasin
41763b4851
Sunset theme: add ui.text.directory ( #12372 )
2024-12-31 09:11:33 -06:00
Matthew Taylor
bbeb99dc40
fix: Bump `vento` grammar revision ( #12368 )
2024-12-30 14:58:16 -06:00
Jean Abou Samra
9cc056e755
fix (hx --health): Don't print headers in white ( #12355 )
2024-12-29 10:38:28 -06:00
Karim Abou Zeid
6d07ae4f07
add `uv` shebang for python ( #12360 )
2024-12-28 20:44:26 -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