Elizabeth
ca55729159
Added zoom mode & max width
7 months ago
Felix Richter
00e9e5eade
docs/src/package-managers: update nixos link to official wiki ( #10718 )
...
This commit updates the the link from the former, unofficial
nixos wiki page to the new https://wiki.nixos.org
ref: https://github.com/NixOS/foundation/issues/113
7 months ago
Aral Balkan
f4a61006bf
Remove outdated comment about key binding being disabled ( #10717 )
...
I just used the `=` binding to format a selection in a CSS file in helix 23.10 (5931a46c) so removing this comment as outdated.
7 months ago
dependabot[bot]
f656b4f3a7
build(deps): bump the rust-dependencies group across 1 directory with 11 updates ( #10715 )
...
Bumps the rust-dependencies group with 11 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [tree-sitter](https://github.com/tree-sitter/tree-sitter ) | `0.22.5` | `0.22.6` |
| [unicode-width](https://github.com/unicode-rs/unicode-width ) | `0.1.11` | `0.1.12` |
| [hashbrown](https://github.com/rust-lang/hashbrown ) | `0.14.3` | `0.14.5` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.198` | `1.0.200` |
| [parking_lot](https://github.com/Amanieu/parking_lot ) | `0.12.1` | `0.12.2` |
| [anyhow](https://github.com/dtolnay/anyhow ) | `1.0.82` | `1.0.83` |
| [libc](https://github.com/rust-lang/libc ) | `0.2.153` | `0.2.154` |
| [rustix](https://github.com/bytecodealliance/rustix ) | `0.38.32` | `0.38.34` |
| [pulldown-cmark](https://github.com/raphlinus/pulldown-cmark ) | `0.10.0` | `0.10.3` |
| [thiserror](https://github.com/dtolnay/thiserror ) | `1.0.58` | `1.0.60` |
| [cc](https://github.com/rust-lang/cc-rs ) | `1.0.95` | `1.0.97` |
Updates `tree-sitter` from 0.22.5 to 0.22.6
- [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.5...v0.22.6 )
Updates `unicode-width` from 0.1.11 to 0.1.12
- [Commits](https://github.com/unicode-rs/unicode-width/compare/v0.1.11...v0.1.12 )
Updates `hashbrown` from 0.14.3 to 0.14.5
- [Changelog](https://github.com/rust-lang/hashbrown/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/hashbrown/compare/v0.14.3...v0.14.5 )
Updates `serde` from 1.0.198 to 1.0.200
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.198...v1.0.200 )
Updates `parking_lot` from 0.12.1 to 0.12.2
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.12.1...0.12.2 )
Updates `anyhow` from 1.0.82 to 1.0.83
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.82...1.0.83 )
Updates `libc` from 0.2.153 to 0.2.154
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.153...0.2.154 )
Updates `rustix` from 0.38.32 to 0.38.34
- [Release notes](https://github.com/bytecodealliance/rustix/releases )
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.32...v0.38.34 )
Updates `pulldown-cmark` from 0.10.0 to 0.10.3
- [Release notes](https://github.com/raphlinus/pulldown-cmark/releases )
- [Commits](https://github.com/raphlinus/pulldown-cmark/compare/v0.10.0...v0.10.3 )
Updates `thiserror` from 1.0.58 to 1.0.60
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.58...1.0.60 )
Updates `cc` from 1.0.95 to 1.0.97
- [Release notes](https://github.com/rust-lang/cc-rs/releases )
- [Commits](https://github.com/rust-lang/cc-rs/compare/1.0.95...1.0.97 )
---
updated-dependencies:
- dependency-name: tree-sitter
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: unicode-width
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: hashbrown
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: parking_lot
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: libc
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: rustix
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: pulldown-cmark
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: thiserror
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>
7 months ago
Michael Davis
5c11af1479
`cargo fmt`
7 months ago
Michael Davis
9dd51e75e0
Resolve new Clippy lints
7 months ago
Michael Davis
3cf2a91a25
Bump MSRV to 1.74.0
7 months ago
Jeremia
2bc0d036e7
Added missing colors to dark_high_contrast ( #10705 )
...
I'd been using this theme quite a while because it looks the nicest to
my dyslexia. That said, when I open up XML or HTML documents, they
pretty much always show up in complete white, except for attribute
values.
Finally decided to take a look at why, and added the two colors
(`tag` & `attribute`) needed to make the theme actually usable with the
two formats.
7 months ago
Chris
81d4cbc66e
Update Odin tree sitter grammar ( #10698 )
...
* Replace Odin grammar source
* Update Odin highlights
* Update Odin indents
* Update Odin injections
7 months ago
Christopher Smyth
5e3de68591
FIx incorrectly spelled cfg options ( #10703 )
...
* Fix incorrect cfg key for wasm32
* Fix unicode-lines cfg in helix-view not not being used
7 months ago
Pascal Kuthe
5b8b2f4b9b
improve match bracket matching ( #10613 )
7 months ago
Ryan Roden-Corrent
0432d9cf14
lang(starlark): Add WORKSPACE glob. ( #10713 )
...
In addition to BUILD files, bazel repositories contain a WORKSPACE file,
which is also written in starlark.
See https://bazel.build/reference/be/workspace .
7 months ago
Szabin
beb5afcbef
Revert "Refactor statusline elements to build `Spans` ( #9122 )" ( #10642 )
7 months ago
Matt Moriarity
e16a4f8a2c
Expose all flake outputs through flake-compat ( #10673 )
7 months ago
Yorick Peterse
b437b8b0ee
Add support for Inko ( #10656 )
...
This adds formatting and Tree-sitter support for Inko
(https://inko-lang.org/ ).
7 months ago
Arthur D
295a9a95ce
feat: add support for gjs and gts ( #9940 )
7 months ago
David Else
a959c0ef9b
Improve the structure of the documentation ( #10619 )
7 months ago
François Laignel
f86f350d5d
Debugger template: allow missing or empty completion list ( #10332 )
...
It can be convenient to define project specific debugger templates, some of
which might not necessitate prompting the user to define completion.
This commit makes completion optional for debugger templates and starts the
dap immediately if undefined or empty.
7 months ago
Vladyslav Karasov
6876f923d5
lang(json): make field key highlighting consistent with toml and yaml ( #10676 )
7 months ago
Guilherme Salustiano
50b13d1aea
docs[install/pre-build binaries]: add runtime setup ( #10693 )
7 months ago
Silvan Schmidt
7d1e5f18a2
fix: update link in adding_languages.md ( #10677 )
...
Previously, the link would point to the now moved "How to install the default language servers" page. The link now directly points to the up-to-date page.
7 months ago
Ashley Vaughn
61818996c6
remove ' and add ⟨⟩ in lean autopairs ( #10688 )
7 months ago
Matthew Pomes
7e13213e74
Add `is not` and `not in` to python syntax ( #10647 )
7 months ago
Hichem
cfca30887c
signature: use the suggested LSP signature when changed ( #10655 )
...
some LSPs does update the active signature and some not. To make both
worlds happy, make the active signature more intelligent.
1. SignatureHelp store now the suggested lsp_signature
2. if the lsp_signature changes then use it
3. otherwise use the last signature from the old popup
4. in case the old signature doesn't exist anymore, show the last signature
Signed-off-by: Ben Fekih, Hichem <hichem.f@live.de>
7 months ago
Ryan Roden-Corrent
31273c69e0
Add completion/signature bindings to keymap.md ( #10654 )
...
* Add completion/signature bindings to keymap.md
PR #9974 added alt-p/alt-n keybindings to scroll through signatures.
This wasn't very discoverable, as it's not in the docs or the command palette.
This also removes a broken link for "comment mode" in the table of contents.
* Update keymap.md
7 months ago
Luv-Ray
752ed8eb15
add `try` keyword to rust highlights ( #10641 )
7 months ago
TobiEiss
d8701bfd1e
add textobjects queries for hurl ( #10594 )
...
* add textobjects queries comment and function
* update doc for hurl lang support
* switch entry.inner to entry.outer
* switch to function.inside
---------
Co-authored-by: Tobias Eiß <te@clarilab.de>
7 months ago
tingerrr
eeb8782c54
Add comment injection to typst queries ( #10628 )
7 months ago
Erasin Wang
724a96abc8
Add pest support ( #10616 )
...
Support [pest-parser](https://github.com/pest-parser )
- [pest-language-server](https://github.com/pest-parser/pest-ide-tools )
- [tree-sitter-pest](https://github.com/pest-parser/tree-sitter-pest )
close #7878
7 months ago
Kitsu
ec224798e7
fix: do not stop at first url at goto_file ( #10622 )
7 months ago
Kitsu
8db93013fb
fix: avoid child area overflow on split ( #10620 )
7 months ago
Pascal Kuthe
e2594b64c0
move popup when cursor line changes
...
Co-authored-by: Ben Fekih, Hichem" <hichem.f@live.de>
7 months ago
Pascal Kuthe
93e8c16614
fix required_size implementation of signature help
...
Trunctation should always be handled by the parent. Returning None is
only supposed to indicate a missing implementation
Co-authored-by: Ben Fekih, Hichem" <hichem.f@live.de>
7 months ago
Pascal Kuthe
2d6d876a23
fix popup size calculation
...
Co-authored-by: ath3 <ha05190@protonmail.com>
7 months ago
Pascal Kuthe
a1d7997fe3
fix lsp restart ( #10614 )
7 months ago
Elizabeth
bc03b6b5fe
Fixed ECMAScript private member highlighting ( #10554 )
7 months ago
Alexis (Poliorcetics) Bourget
615d34a237
nit: remove unused `ceiling_dir` param
7 months ago
Alexis (Poliorcetics) Bourget
f1461b49fa
cleanup: remove useless Git struct, using free functions instead
7 months ago
Alexis (Poliorcetics) Bourget
918dd3fa37
cleanup: remove dummy diff provider, it's the exact same as not having one
7 months ago
Diogenesoftoronto
5ee7411450
Change cursor color per mode for default ( #10608 )
7 months ago
Keir Lawson
31248d4e2f
Enable metals inlay hints ( #10597 )
7 months ago
David Else
109f53fb60
Add debug highlights to the dark plus theme ( #10593 )
7 months ago
woojiq
839ec4ad39
test: match around closest pair tree-sitter version
7 months ago
woojiq
81dc8e8d6b
feat: find closest pair using tree-sitter
7 months ago
Yoav Lavi
50c90cb47c
Add support for highlighting any `.*ignore` file ( #10579 )
7 months ago
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>
7 months ago
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
7 months ago
Kirawi
e18b772654
Remove kirawi from `dark_plus` maintainer list ( #10543 )
7 months ago
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.
7 months ago
Pascal Kuthe
b834806dbc
use newtype parttern for langauge server id
7 months ago