Commit Graph

4939 Commits (95e994ab3817b3803f0d25b10423de4ef74508d6)
 

Author SHA1 Message Date
Michael Davis f0b877e258 Tune regex highlights for usage in prompts
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.
11 months ago
Michael Davis 0dc3753eb2 Syntax-highlight regex prompts
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.
11 months ago
Michael Davis 6a431afc4e
Save an undo checkpoint before accepting completion (#7747) 11 months ago
eh dea6894f92
Theme Pop-Dark: Increase Diagnostics clarity (#7702) 11 months ago
saltlakrits 5a52897014
Update everforest_dark.toml to add missing color definitions (#7739) 11 months ago
Pham Huy Hoang 75239a938f
fix incorrect predicate in comment highlights (#7732) 11 months ago
Federico Stra a188282b37
Update soft-wrap indicator in gruvbox themes (#7736) 11 months ago
dependabot[bot] b266628c17
build(deps): bump signal-hook from 0.3.16 to 0.3.17 (#7728)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
11 months ago
dependabot[bot] 00dc205108
build(deps): bump thiserror from 1.0.43 to 1.0.44 (#7730)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
11 months ago
dependabot[bot] 7295340119
build(deps): bump serde from 1.0.171 to 1.0.175 (#7727)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
11 months ago
dependabot[bot] 46251a1411
build(deps): bump tempfile from 3.6.0 to 3.7.0 (#7726)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
11 months ago
sigmaSd 5ec126d3e2
Fix docs for default statusline config (#7720) 11 months ago
Ravi Shekhar Jethani 48d57dad47
Fix selection highlighting in remaining gruvbox derived themes (#7717) 11 months ago
Jonas Tepe 505213d41b
Drop mut from variable to silence linter (#7704) 11 months ago
Ryan Fowler 5c41f22c2a
Add support for LSP DidChangeWatchedFiles (#7665)
* 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
11 months ago
sigmaSd 8977123f25
feat: resolve code action (#7677) 11 months ago
Thales Ramos d52b790379
Add Kaolin Dark, Light and Valley Dark themes (#7151)
Add some missing keys

Inherit themes from kaolin-dark and override diverging keys
12 months ago
Christian Holman 579f68b52d
allow for higher F keys to be used (#7672) 12 months ago
dependabot[bot] b47519ab11
build(deps): bump signal-hook from 0.3.15 to 0.3.16 (#7664)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
12 months ago
dependabot[bot] b87858b7b4
build(deps): bump indoc from 2.0.2 to 2.0.3 (#7663)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
12 months ago
dependabot[bot] 1478a0d3a6
build(deps): bump anyhow from 1.0.71 to 1.0.72 (#7662)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
12 months ago
dependabot[bot] 6d4fd77315
build(deps): bump serde_json from 1.0.100 to 1.0.103 (#7661)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
12 months ago
J. Brock 2fa576b177
Remove snap aliasing instructions (#7657)
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>
12 months ago
Jesse Luehrs e7f60611ac
switch to https://github.com/tree-sitter-perl/tree-sitter-perl (#7644) 12 months ago
Jake Langford ad2061bab6
Update my name README.md (#7656) 12 months ago
Pascal Kuthe 8f1c6456f3
Clear statusline while prompt is visible (#7646) 12 months ago
Pascal Kuthe 68a98ac36b use a single query for injections
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.
12 months ago
Pascal Kuthe 2d5ff9ec8f fix crash when encountering overlapping injections 12 months ago
Doug Kelkhoff 79a8fd6249
Add a more file types for R (#7633) 12 months ago
kaashyapan 2ace6032e7
Add fsharp language support (#7619) 12 months ago
Michael Goodness 86bf0e00fe
feat: add Brewfile to Ruby file-types (#7629) 12 months ago
woojiq ab819ede9a
docs(install): add how to install helix from snap (#7625) 12 months ago
Erasin Wang 2cb00bcbc4
Support inlay-hints for svelteserver. (#7622) 12 months ago
Jeppe Christiansen bc4f08febf
Update Typescript, TSX and Svelte grammar, to latest tag (#6874)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
12 months ago
Alex Vinyals 843ae97120
enhanced `surround_replace` to provide visual feedback (#7588) 12 months ago
Nick Saika 9551e4e111
runtime/themes: Add "naysayer" theme (#7570) 12 months ago
Jonathan 0e0501c510
Fix piping to Helix on macOS (#5468) 12 months ago
Karim Mk e86bb64b63
Change dark_plus inlay-hints colors to more pleasant colors (#7611)
* Changing code_dark inlay-hints colors.

* Using dark_plus_experimental inlay hints is better ;)
12 months ago
Arian Dehghani a5f7190614
Register systemd files as ini (#7592) 12 months ago
Jorge Santiago 9259c52606
Add shebang for nushell files (#7606) 12 months ago
Tudyx 9893a1fbcc
Auto indent change if selection is linewise (#7316) 12 months ago
Yomain 8afc0282f2
Fix crash when cwd is deleted (#7185) 12 months ago
Pascal Kuthe 1adb19464f
search buffer contents during global search (#5652) 12 months ago
dependabot[bot] 541d2b76d6
build(deps): bump serde_json from 1.0.99 to 1.0.100 (#7598)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
12 months ago
dependabot[bot] ac57e93583
build(deps): bump smallvec from 1.10.0 to 1.11.0 (#7597)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
12 months ago
dependabot[bot] 1790097d59
build(deps): bump regex from 1.8.4 to 1.9.1 (#7596)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
12 months ago
dependabot[bot] 57babd9456
build(deps): bump serde from 1.0.166 to 1.0.171 (#7595)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
12 months ago
dependabot[bot] 62b2b6360d
build(deps): bump toml from 0.7.5 to 0.7.6 (#7594)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
12 months ago
dependabot[bot] 66a0b64853
build(deps): bump thiserror from 1.0.40 to 1.0.43 (#7593)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
12 months ago
Queyrouzec f68956a306
Update dart commit in languages.toml (#7576) 12 months ago