aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* feat: Add `Tact` language support (#9512)Novus Nota2024-02-04
| | | Re-submitting
* Update grammars for Nushell to rev 358c4f50 (#9502)Devyn Cairns2024-02-04
|
* feat(queries): regex injection for golang (#9510)Matouš Dzivjak2024-02-03
|
* Use gix pipeline filter instead of manual crlf implementation (#9503)Shoyu Vanilla2024-02-03
|
* build(deps): bump serde_json from 1.0.111 to 1.0.113 (#9471)dependabot[bot]2024-02-02
|
* build(deps): bump chrono from 0.4.32 to 0.4.33 (#9472)dependabot[bot]2024-02-02
|
* build(deps): bump serde from 1.0.195 to 1.0.196 (#9473)dependabot[bot]2024-02-02
|
* build(deps): bump pulldown-cmark from 0.9.3 to 0.9.6 (#9474)dependabot[bot]2024-02-02
|
* Set ui.virtual.ruler background for GitHub themes (#9487)Andrew Carter2024-02-01
| | | | | | | Turning on a ruler does not show a visible ruler line for the GitHub themes. This change renders rulers using the `canvas.subtle` color. This matches the color used for the `cursorline` and creates a visible ruler that fits the theme.
* Use range positions to determine insert_newline motion (#9448)Waleed Dahshan2024-01-29
| | | | | | | * use anchor and head positions to determine motion * use range cursor to decide extending or shifting * add condition to cursor moving back on normal
* make path changes LSP spec conform (#8949)Pascal Kuthe2024-01-28
| | | | | | | | | | | | | | | | | Currently, helix implements operations which change the paths of files incorrectly and inconsistently. This PR ensures that we do the following whenever a buffer is renamed (`:move` and workspace edits) * always send did_open/did_close notifications * send will_rename/did_rename requests correctly * send them to all LSP servers not just those that are active for a buffer * also send these requests for paths that are not yet open in a buffer (if triggered from workspace edit). * only send these if the server registered interests in the path * autodetect language, indent, line ending, .. This PR also centralizes the infrastructure for path setting and therefore `:w <path>` benefits from similar fixed (but without didRename)
* Use janet-simple grammar for Janet (#9247)sogaiu2024-01-28
| | | | | | | | | | | | | | | | | | * Use janet-simple grammar for Janet * Update book * Tweak language name and related * Rename janet-simple to janet in book * Remove spurious language section for janet * Drop quote_lit and qq_lit related highlighting --------- Co-authored-by: sogaiu <983021772@users.noreply.github.com> Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Add icon to Windows executable (#9104)NitinKM2024-01-28
| | | | | | | | | | | * injecting the icon through a resource file, no extra deps * formatted * scripted rc compilation * formatted and restructured * simplified conditional func call
* feat: add hard/soft contrast for gruvbox light mode (#9266)Twinkle2024-01-28
|
* Add argument to textobject in gdscript. (#9288)Ryan Roden-Corrent2024-01-28
| | | | Currently `maa` only selects parameters in a function definition. Allow it to also select arguments inside a function call.
* highlight(scala): highlight abstract methods in traits and classes (#9340)Jaakko Paju2024-01-28
|
* adjust color darkness on ruler & inlay-hints (#9375)Abderrahmane TAHRI JOUTI2024-01-28
|
* Respect injections in movement::move_parent_node_endMichael Davis2024-01-28
|
* Respect injections in :tree-sitter-highlight-nameMichael Davis2024-01-28
|
* Use injection syntax trees for bracket matchingMichael Davis2024-01-28
| | | | | | | | Previously we used the root syntax tree for bracket matching. We can use the new functionality in `Syntax` for finding the correct syntax tree for a given byte range though so we use the correct syntax tree within injections. This improves bracket matching behavior within HTML injections like script or style tags for example.
* Include interpolated SQL strings in Scala injection queries (#9428)Jaakko Paju2024-01-28
| | | | | | | | | | | | | * Change Scala injection queries to include SQL strings * Include block comments in comment injection * Change #match predicate to #any-of Co-authored-by: Kirawi <67773714+kirawi@users.noreply.github.com> --------- Co-authored-by: Kirawi <67773714+kirawi@users.noreply.github.com>
* Make status line modes bold for theme onedark (#9435)Travis Harmon2024-01-28
| | | | | * Make status line modes bold * Revert change to onedarker
* Make status line modes bold (#9449)Chirikumbrah2024-01-28
|
* lang(git-ignore): add `helix/ignore` to git-ignore file types (#9447)Poliorcetics2024-01-27
|
* Update some grammars to a commit where the license file is included (#9279)blinxen2024-01-25
| | | | | Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Fix error message shown for goto references (#9382)Nick2024-01-25
|
* highlighting: Gate multiple captures behind `#is-not? local` predicates (#9390)Michael Davis2024-01-25
|
* minor: Silence noisy language server not found error in logBlaž Hrastnik2024-01-24
|
* Improve error handling for `which::which` failuresMichael Davis2024-01-24
| | | | Co-authored-by: Pascal Kuthe <pascalkuthe@pm.me>
* Re-export `which` from `helix-stdx::env`Michael Davis2024-01-24
| | | | | | | | | | We use `which::which` in many crates, so `which` was a separate dependency across all of them. We can centralize `which` into the stdx crate so it's easy for all crates to depend on it. I also moved the rest of `helix-view/src/env.rs` into helix-stdx's `env` module since it only contained a thin wrapper around `which` and `std::env`.
* minor: Silence noisy set_error logBlaž Hrastnik2024-01-24
| | | | Outside of debugging tests, it makes no sense to log this.
* build(deps): bump actions/cache from 3 to 4 (#9402)dependabot[bot]2024-01-23
| | | | | | | | | | | | | | | | Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update Typst Tree-Sitter grammar (#9403)Idobenhamo2024-01-23
| | | Co-authored-by: Idobenhamo <idobenhamo@users.noreply.github.com>
* Add text object queries for dart (#9411)melted-brownie2024-01-23
| | | | | | | | | | | | | | * Add text object queries for dart * Update runtime/queries/dart/textobjects.scm Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * Clean up internal capture name --------- Co-authored-by: Sébastien Blondiau <sebastien.blondiau@iot-d.com> Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* build(deps): bump gix from 0.57.1 to 0.58.0 (#9407)dependabot[bot]2024-01-23
| | | | | | | | | | | | | | | | Bumps [gix](https://github.com/Byron/gitoxide) from 0.57.1 to 0.58.0. - [Release notes](https://github.com/Byron/gitoxide/releases) - [Changelog](https://github.com/Byron/gitoxide/blob/main/CHANGELOG.md) - [Commits](https://github.com/Byron/gitoxide/compare/gix-v0.57.1...gix-v0.58.0) --- updated-dependencies: - dependency-name: gix dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump smallvec from 1.12.0 to 1.13.1 (#9405)dependabot[bot]2024-01-23
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add bufferline config for onedark & onedarker themes (#9397)Jaakko Paju2024-01-23
|
* build(deps): bump bitflags from 2.4.1 to 2.4.2 (#9404)dependabot[bot]2024-01-23
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump regex from 1.10.2 to 1.10.3 (#9408)dependabot[bot]2024-01-23
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump chrono from 0.4.31 to 0.4.32 (#9409)dependabot[bot]2024-01-23
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* refactor completion and signature help using hooksPascal Kuthe2024-01-23
|
* Add hook/event systemPascal Kuthe2024-01-23
|
* Highlight .bash_history as bash (#9401)Boris Verkhovskiy2024-01-22
|
* Update Scala tree-sitter grammar (#9348)Jaakko Paju2024-01-22
| | | | | | | * Update Scala tree-sitter grammar * Support block comments Modify comment handling in textobjects and highlights to support new TS-scala node type 'block_comment'
* bash, make, css: highlight and indent queries improvement (#9393)woojiq2024-01-22
| | | | | | | | | | | | | | * highlights(bash): rework keywords section * Use more specified scope when possible for keywords like @keyword.repeat. * Add more keywords like "local" or "unsetenv". Limitation: * Bash doesn't allow you to have a local variable outside of a function, so maybe we need to have better queries to not highlight the local in this case. * If we name a function with a keyword (such as unset or local), it will use the highlight scope "keyword" instead of "function". * indents(css, make): add basic queries * Despite the fact that queries look simple, they improve indentation in some edge cases that helix couldn't handle correctly by default.
* Fix typo in string representation of GotoReference (#9395)Matthew Toohey2024-01-22
|
* Handle failure when enabling bracketed paste (#9353)Ahmed Hagi2024-01-18
| | | | | | | | | * match instead of crash * pulling bracketedpaste out, refactor, tracking for bracketed paste * sending disable bracketed paste only when supports true * move disable bracketed paste to throwaway
* Use helix-stdx tilde expansion and normalization for HELIX_RUNTIME pathsMichael Davis2024-01-18
| | | | | | | | | | Previously this wasn't possible since helix-core depends on helix-loader, so helix-loader couldn't use helix-core's path extensions. We use the path normalization/canonicalization for the runtime directory provided by the HELIX_RUNTIME environment variable. This improves a scenario where you set a path containing a tilde. Now that path will be expanded and normalized.
* Create helix-stdx crate for stdlib extensionsMichael Davis2024-01-18
| | | | | | | | | | | | | helix-stdx is meant to carry extensions to the stdlib or low-level dependencies that are useful in all other crates. This commit starts with all of the path functions from helix-core and the CWD tracking that lived in helix-loader. The CWD tracking in helix-loader was previously unable to call the canonicalization functions in helix-core. Switching to our custom canonicalization code should make no noticeable difference though since `std::env::current_dir` returns a canonicalized path with symlinks resolved (at least on unix).
* Address clippy lints (#9371)Daniel Sedlak2024-01-17
|