Pascal Kuthe
a1d7997fe3
fix lsp restart ( #10614 )
2024-04-28 12:11:17 +09:00
Elizabeth
bc03b6b5fe
Fixed ECMAScript private member highlighting ( #10554 )
2024-04-27 21:55:12 +02:00
Alexis (Poliorcetics) Bourget
615d34a237
nit: remove unused ceiling_dir
param
2024-04-27 12:51:15 -04:00
Alexis (Poliorcetics) Bourget
f1461b49fa
cleanup: remove useless Git struct, using free functions instead
2024-04-27 12:51:15 -04:00
Alexis (Poliorcetics) Bourget
918dd3fa37
cleanup: remove dummy diff provider, it's the exact same as not having one
2024-04-27 12:51:15 -04:00
Diogenesoftoronto
5ee7411450
Change cursor color per mode for default ( #10608 )
2024-04-26 16:50:29 -05:00
Keir Lawson
31248d4e2f
Enable metals inlay hints ( #10597 )
2024-04-26 16:48:23 -05:00
David Else
109f53fb60
Add debug highlights to the dark plus theme ( #10593 )
2024-04-25 07:48:14 -05:00
woojiq
839ec4ad39
test: match around closest pair tree-sitter version
2024-04-24 16:36:13 -04:00
woojiq
81dc8e8d6b
feat: find closest pair using tree-sitter
2024-04-24 16:36:13 -04:00
Yoav Lavi
50c90cb47c
Add support for highlighting any .*ignore
file ( #10579 )
2024-04-24 07:06:19 -05:00
David Else
22960e0d70
Refactor Dark Plus and add new maintainer ( #10574 )
...
* Make dark_plus.toml more accurate to VSCode
* theme(dark_plus): make type.builtin blue
* Refactor dark_plus and add myself as new maintainer
Co-authored-by: NAME <NAME@EXAMPLE.COM>
---------
Co-authored-by: Luca Saccarola <96259932+saccarosium@users.noreply.github.com>
Co-authored-by: Luca Saccarola <github.e41mv@aleeas.com>
Co-authored-by: NAME <NAME@EXAMPLE.COM>
2024-04-24 11:40:04 +02:00
Krishan
89a9f2be78
specify direction for select_prev_sibling and select_next_sibling ( #10542 )
...
* specify direction for select_prev_sibling and select_next_sibling
* fix failing integration-test
2024-04-23 08:41:03 -05:00
Kirawi
e18b772654
Remove kirawi from dark_plus
maintainer list ( #10543 )
2024-04-21 23:53:31 -04:00
Pascal Kuthe
38ee845b05
don't overload LS with completion resolve requests
...
While moving completion resolve to the event system in #9668 we introduced what
is essentially a "DOS attack" on slow LSPs. Completion resolve requests were
made in the render loop and debounced with a timeout. Once the timeout expired
the resolve request was made. The problem is the next frame would immediately
request a new completion resolve request (and mark the old one as obsolete but
because LSP has no notion of cancelation the server would still process it). So
we were in essence sending one completion request to the server every 150ms and
only stopped if the server managed to respond before we rendered a new frame.
This caused overload on slower machines/with slower LS.
In this PR I revamped the resolve handler so that a request is only ever
resolved once. Both by checking if a request is already in-flight and by marking
failed resolve requests as resolved.
2024-04-22 12:27:47 +09:00
Pascal Kuthe
b834806dbc
use newtype parttern for langauge server id
2024-04-22 12:27:47 +09:00
Matouš Dzivjak
d140072fdc
feat(themes): jump-label for modus themes ( #10538 )
...
Add styling for jump-labels for modus themes. I couldn't find
any official approach here so picking `yello-cooler`. `cooler` is
used for other meta highlights by modus and yellow seems to be
used the least - only warnings, so there's little chance of colliding
with other highlights.
2024-04-21 09:42:50 -05:00
Simran Kedia
26d9610e78
Ignore .svn version control files ( #10536 )
...
Co-authored-by: Simran Kedia <simk@fb.com>
2024-04-21 12:00:30 +09:00
Triton171
efae85ec20
Simplify first-in-line computation for indent queries. ( #10527 )
2024-04-20 18:58:54 -04:00
dependabot[bot]
35b6aef5fb
build(deps): bump the rust-dependencies group with 8 updates ( #10532 )
...
Bumps the rust-dependencies group with 8 updates:
| Package | From | To |
| --- | --- | --- |
| [tree-sitter](https://github.com/tree-sitter/tree-sitter ) | `0.22.2` | `0.22.5` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.197` | `1.0.198` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.115` | `1.0.116` |
| [encoding_rs](https://github.com/hsivonen/encoding_rs ) | `0.8.33` | `0.8.34` |
| [chrono](https://github.com/chronotope/chrono ) | `0.4.37` | `0.4.38` |
| [anyhow](https://github.com/dtolnay/anyhow ) | `1.0.81` | `1.0.82` |
| [clipboard-win](https://github.com/DoumanAsh/clipboard-win ) | `5.3.0` | `5.3.1` |
| [cc](https://github.com/rust-lang/cc-rs ) | `1.0.90` | `1.0.95` |
Updates `tree-sitter` from 0.22.2 to 0.22.5
- [Release notes](https://github.com/tree-sitter/tree-sitter/releases )
- [Changelog](https://github.com/tree-sitter/tree-sitter/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tree-sitter/tree-sitter/compare/v0.22.2...v0.22.5 )
Updates `serde` from 1.0.197 to 1.0.198
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.197...v1.0.198 )
Updates `serde_json` from 1.0.115 to 1.0.116
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.115...v1.0.116 )
Updates `encoding_rs` from 0.8.33 to 0.8.34
- [Commits](https://github.com/hsivonen/encoding_rs/compare/v0.8.33...v0.8.34 )
Updates `chrono` from 0.4.37 to 0.4.38
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.37...v0.4.38 )
Updates `anyhow` from 1.0.81 to 1.0.82
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.81...1.0.82 )
Updates `clipboard-win` from 5.3.0 to 5.3.1
- [Commits](https://github.com/DoumanAsh/clipboard-win/commits )
Updates `cc` from 1.0.90 to 1.0.95
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Commits](https://github.com/rust-lang/cc-rs/compare/1.0.90...1.0.95 )
---
updated-dependencies:
- dependency-name: tree-sitter
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: encoding_rs
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: clipboard-win
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: cc
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-20 23:49:01 +09:00
Chris Sergienko
345e687573
feat: update bash grammar to latest tree-sitter-bash rev ( #10526 )
2024-04-20 07:41:55 -05:00
Ben Fekih, Hichem
4b8bcd2773
popup: call required_size only once while rendering
...
to speed up the rendering a little
Signed-off-by: Ben Fekih, Hichem <hichem.f@live.de>
2024-04-20 08:39:12 -04:00
Ben Fekih, Hichem
af4ff80524
Improve popup position
...
Make the popup positions more consistent.
Improvements:
1. if the signature popup content is bigger than the available space,
then the popup is always shown under the cursor, even if there more
space above the cursor than below
2. There is no mutation anymore inside required_size. Maybe in the future
we can update all widgets to have no mutations and change the trait
Signed-off-by: Ben Fekih, Hichem <hichem.f@live.de>
2024-04-20 08:39:12 -04:00
Michael Davis
211f368064
Respect mode when starting a search ( #10505 )
...
Currently the editor mode has no effect on the behavior of `search` and
`rsearch`. We can pass in the right movement for the editor mode to make
the behavior or `search` and `rsearch` match `search_next` and
`search_prev` in select mode.
2024-04-20 10:25:11 +09:00
Kevin Vigor
18d5cacea6
Override crossterm's support for NO_COLOR. ( #10514 )
...
Since helix isn't usable without color support, honoring this does
nobody any good.
2024-04-20 10:19:12 +09:00
RoloEdits
94405f3d07
refactor(themes): gruvbox
warnings to yellow1
( #10506 )
2024-04-19 23:22:55 +09:00
urly3
98b4df23a3
theme: everblush ( #10394 )
...
changed the statusline colors for SELECT mode
the previous colours seem to be incorrect and quite ugly (sorry).
I chose the magenta over the cyan that (colors that were already present) as it has
more contrast with the existing INSERT colour.
the statusline colours are now inline with eachother, all having the background be the 'background'
colour, with varying foregrounds.
Co-authored-by: urly3 <u@rl.yyy>
2024-04-19 10:29:49 +09:00
Nuke
2209effb02
Update lang-support.md for new wiki page name ( #10508 )
...
The prior URL invites you to create a new wiki page. I think https://github.com/helix-editor/helix/wiki/Language-Server-Configurations is the correct place to point to now.
There might be more issues related to changes in wiki structure that are not caught by some CI link check because of this (it's a valid URL, just not what you want to direct to lol)
2024-04-19 10:26:04 +09:00
Rolo
34291f0f3b
feat(themes): add ui.virtual.ruler
for base16_default_dark
2024-04-18 11:50:23 -04:00
Rolo
4e16956007
feat(themes): add ui.virtual.ruler
for base16_default_light
2024-04-18 11:50:23 -04:00
Rolo
bb57686854
feat(themes): add ui.virtual.ruler
for base16_terminal
2024-04-18 11:50:23 -04:00
Rolo
ccb0c40b5e
feat(themes): add ui.virtual.ruler
for mellow
2024-04-18 11:50:23 -04:00
Rolo
785d09e38f
feat(themes): add ui.virtual.ruler
for poimandres
...
This change also propagates to `poimandres-storm`
2024-04-18 11:50:23 -04:00
Rolo
6fdc1d6a95
feat(themes): add ui.virtual.ruler
for varua
2024-04-18 11:50:23 -04:00
Rolo
c0aadfd4ce
feat(themes): add ui.virtual.ruler
for vim_dark_high_contrast
2024-04-18 11:50:23 -04:00
Rolo
368b29ca72
feat(themes): add ui.virtual.ruler
for base16_default
2024-04-18 11:50:23 -04:00
Rolo
be8dc22272
feat(themes): add ui.virtual.ruler
for horizon-dark
2024-04-18 11:50:23 -04:00
Rolo
a5a9827f32
fix(themes): correct typo in theme.toml
2024-04-18 11:50:23 -04:00
Rolo
88da9e857c
feat(themes): add ui.virtual.ruler
for default
2024-04-18 11:50:23 -04:00
Rolo
4713eb06b1
refactor(themes): change solarized_*
ruler to bg
...
Also changed the colors to better blend with the theme.
2024-04-18 11:50:23 -04:00
Rolo
6bdc6f460e
refactor(themes): removed ui.highlight
effects from solarized_light
...
This now matches `solarized_dark` changes from #10261
2024-04-18 11:50:23 -04:00
ves
97f683b336
Improve HTML highlighting ( #10503 )
2024-04-18 15:57:26 +09:00
Blaž Hrastnik
8924691c5d
minor: Update docs
2024-04-18 14:59:46 +09:00
Blaž Hrastnik
f06a166962
Add Move language support
2024-04-18 14:57:23 +09:00
Daniel O'Brien
1d23796ad1
Fix kanagawa theme when using cursorline ( #10500 )
2024-04-17 17:58:33 -05:00
Sean Perry
30baff907d
Implement read command ( #10447 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Co-authored-by: Ibrahim Dursun <ibrahim@dursun.cc>
2024-04-17 17:57:57 -05:00
ath3
521accaf00
Include "change" in textobject autoinfo ( #10496 )
2024-04-17 17:29:28 +02:00
Gaëtan Lehmann
ab203b5f53
update earthfile grammar and highlight queries ( #10489 )
2024-04-17 20:15:16 +09:00
Pascal Kuthe
1cce693bef
correctly describe behavior of C in tutor ( #10465 )
2024-04-17 09:06:05 +09:00
Clara Smyth
43dff1c772
Fix: Svelte queries ( #10487 )
2024-04-16 23:56:43 +02:00