aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Register .gltf file type for JSON (#7781)Mateusz S. Szczygieł2023-07-29
|
* feat: update prql parser (#7771)Matthias Q2023-07-28
|
* Add wren support (#7765)Jummit2023-07-28
|
* Refactor Nix flake to use crane (#7763)Michael Davis2023-07-28
| | | | | | | | | | | | This resolves a build issue with nci/dream2nix and git dependencies. We can keep most of the helix-specific parts of the flake, we just need to switch from configuring nci to calling craneLib functions. We also switch to flake-utils from flake-parts: * Using rust-overlay with flake-parts directly is unergonomic (see https://github.com/hercules-ci/flake-parts/discussions/83). * Removing flake-parts reduces the overall dependencies: rust-overlay already depends on flake-utils.
* Reformat with nightly rustfmt for better let-else formatting (#7721)Philipp Mildenberger2023-07-27
|
* pin TS to unreleased git revision to fix freezes (#7737)Pascal Kuthe2023-07-27
|
* highlighted_code_block: Take input text as &strMichael Davis2023-07-27
| | | | | | This removes a handful of allocations for functions calling into the function, which is nice because the prompt may call this function on every keypress.
* Prefer RopeSlice to &Rope in helix_core::syntaxMichael Davis2023-07-27
| | | | | | | | | | | | | | | Pascal and I discussed this and we think it's generally better to take a 'RopeSlice' rather than a '&Rope'. The code block rendering function in the markdown component module is a good example for how this can be useful: we can remove an allocation of a rope and instead directly turn a '&str' into a 'RopeSlice' which is very cheap. A change to prefer 'RopeSlice' to '&Rope' whenever the rope isn't modified would be nice, but it would be a very large diff (around 500+ 500-). Starting off with just the syntax functions seems like a nice middle-ground, and we can remove a Rope allocation because of it. Co-authored-by: Pascal Kuthe <pascal.kuthe@semimod.de>
* Tune regex highlights for usage in promptsMichael Davis2023-07-27
| | | | | | | | | | | Since regex is almost always injected into other languages, `pattern_character`s will inherit the highlight for the structure that injects them (for example `/foo/` in JavaScript or `~r/foo/` in Elixir). This removes the string highlight when used in the prompt. We also add `ERROR` node highlighting so that errors in regex syntax appear in the prompt. This resolves a TODO in the `regex_prompt` function about highlighting errors in the regex.
* Syntax-highlight regex promptsMichael Davis2023-07-27
| | | | | | | | | | | We can use tree-sitter-regex highlighting in prompts for entering regexes, like `search` or `global_search`. The `highlighted_code_block` function from the markdown component makes this a very small change. This could be improved in the future by leaving the parsed syntax tree on the prompt, allowing incremental updates. Prompt lines are usually so short though and tree-sitter-regex is rather small and uncomplicated, so that improvement probably wouldn't make a big difference.
* Save an undo checkpoint before accepting completion (#7747)Michael Davis2023-07-27
|
* Theme Pop-Dark: Increase Diagnostics clarity (#7702)eh2023-07-26
|
* Update everforest_dark.toml to add missing color definitions (#7739)saltlakrits2023-07-26
|
* fix incorrect predicate in comment highlights (#7732)Pham Huy Hoang2023-07-25
|
* Update soft-wrap indicator in gruvbox themes (#7736)Federico Stra2023-07-25
|
* build(deps): bump signal-hook from 0.3.16 to 0.3.17 (#7728)dependabot[bot]2023-07-25
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump thiserror from 1.0.43 to 1.0.44 (#7730)dependabot[bot]2023-07-25
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump serde from 1.0.171 to 1.0.175 (#7727)dependabot[bot]2023-07-25
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump tempfile from 3.6.0 to 3.7.0 (#7726)dependabot[bot]2023-07-25
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix docs for default statusline config (#7720)sigmaSd2023-07-24
|
* Fix selection highlighting in remaining gruvbox derived themes (#7717)Ravi Shekhar Jethani2023-07-23
|
* Drop mut from variable to silence linter (#7704)Jonas Tepe2023-07-22
|
* Add support for LSP DidChangeWatchedFiles (#7665)Ryan Fowler2023-07-21
| | | | | | | | | | | | | | | | | | | * Add initial support for LSP DidChangeWatchedFiles * Move file event Handler to helix-lsp * Simplify file event handling * Refactor file event handling * Block on future within LSP file event handler * Fully qualify uses of the file_event::Handler type * Rename ops field to options * Revert newline removal from helix-view/Cargo.toml * Ensure file event Handler is cleaned up when lsp client is shutdown
* feat: resolve code action (#7677)sigmaSd2023-07-21
|
* Add Kaolin Dark, Light and Valley Dark themes (#7151)Thales Ramos2023-07-19
| | | | | Add some missing keys Inherit themes from kaolin-dark and override diverging keys
* allow for higher F keys to be used (#7672)Christian Holman2023-07-19
|
* build(deps): bump signal-hook from 0.3.15 to 0.3.16 (#7664)dependabot[bot]2023-07-18
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump indoc from 2.0.2 to 2.0.3 (#7663)dependabot[bot]2023-07-18
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump anyhow from 1.0.71 to 1.0.72 (#7662)dependabot[bot]2023-07-18
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump serde_json from 1.0.100 to 1.0.103 (#7661)dependabot[bot]2023-07-18
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Remove snap aliasing instructions (#7657)J. Brock2023-07-17
| | | | | | The helix snap now gets aliased to hx by default at installation time, so manual aliasing should no longer be required. Signed-off-by: Joseph Brock <joseph.brock@protonmail.com>
* switch to https://github.com/tree-sitter-perl/tree-sitter-perl (#7644)Jesse Luehrs2023-07-17
|
* Update my name README.md (#7656)Jake Langford2023-07-17
|
* Clear statusline while prompt is visible (#7646)Pascal Kuthe2023-07-17
|
* use a single query for injectionsPascal Kuthe2023-07-17
| | | | In the past we used two separate queries for combined and normal injections. There was no real reason for this (except historical/slightly easier implementation). Instead, we now use a single query and simply check if an injection corresponds to a combined injection or not.
* fix crash when encountering overlapping injectionsPascal Kuthe2023-07-17
|
* Add a more file types for R (#7633)Doug Kelkhoff2023-07-15
|
* Add fsharp language support (#7619)kaashyapan2023-07-15
|
* feat: add Brewfile to Ruby file-types (#7629)Michael Goodness2023-07-14
|
* docs(install): add how to install helix from snap (#7625)woojiq2023-07-14
|
* Support inlay-hints for svelteserver. (#7622)Erasin Wang2023-07-14
|
* Update Typescript, TSX and Svelte grammar, to latest tag (#6874)Jeppe Christiansen2023-07-14
| | | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* enhanced `surround_replace` to provide visual feedback (#7588)Alex Vinyals2023-07-13
|
* runtime/themes: Add "naysayer" theme (#7570)Nick Saika2023-07-13
|
* Fix piping to Helix on macOS (#5468)Jonathan2023-07-13
|
* Change dark_plus inlay-hints colors to more pleasant colors (#7611)Karim Mk2023-07-12
| | | | | * Changing code_dark inlay-hints colors. * Using dark_plus_experimental inlay hints is better ;)
* Register systemd files as ini (#7592)Arian Dehghani2023-07-12
|
* Add shebang for nushell files (#7606)Jorge Santiago2023-07-12
|
* Auto indent change if selection is linewise (#7316)Tudyx2023-07-11
|
* Fix crash when cwd is deleted (#7185)Yomain2023-07-11
|