dependabot[bot]
3af0a7f3cb
build(deps): bump smartstring from 1.0.0 to 1.0.1 ( #1873 )
...
Bumps [smartstring](https://github.com/bodil/smartstring ) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/bodil/smartstring/releases )
- [Changelog](https://github.com/bodil/smartstring/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bodil/smartstring/compare/v1.0.0...v1.0.1 )
---
updated-dependencies:
- dependency-name: smartstring
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Max
b63b37d5a0
grammars.nix: use github type for fetchTree where possible ( #1872 )
2 years ago
Blaž Hrastnik
511f37c736
clipboard: fix import on macOS
2 years ago
Blaž Hrastnik
33510d60f4
cargo fmt
2 years ago
Blaž Hrastnik
a516f5881b
Address clippy lint
2 years ago
Blaž Hrastnik
8611c5b84e
Refactor clipboard to make it easier to feature gate std::process
2 years ago
Blaž Hrastnik
4940db3e2d
Make truncate_start a builder method instead
2 years ago
Blaž Hrastnik
20cf75dfa1
Strip some more params
2 years ago
Blaž Hrastnik
1849ad1fde
Clean up global search
2 years ago
Blaž Hrastnik
92bb312f0f
Make line a private property
2 years ago
Blaž Hrastnik
96a4eb8483
Remove more push_layer calls
2 years ago
Blaž Hrastnik
5c162ef995
Make regex_prompt directly call cx.push_layer
2 years ago
Blaž Hrastnik
83b3272166
This doesn't need to be mut
2 years ago
Blaž Hrastnik
9a6ee88e66
Split off dap event handlers into helix-view to allow reuse
2 years ago
Blaž Hrastnik
85264a861a
Resize is not necessary inside SIGCONT, handled by render()
2 years ago
Gokul Soumya
7b3a3d562c
Move top level lsp config to editor.lsp ( #1868 )
...
* Move top level lsp config to editor.lsp
This is mainly done to accomodate the new lsp.signature-help config
option that will be introduced in https://github.com/helix-editor/helix/pull/1755
which will have to be accessed by commands. The top level config
struct is split and moved to different places, making the relocation
necessary
* Revert rebase slipup
2 years ago
Joe
bee05dd32a
Add refresh-config and open-config command ( #1803 )
...
* Add refresh-config and open-config command
* clippy
* Use dynamic dispatch for editor config
* Refactor Result::Ok to Ok
* Remove unused import
* cargo fmt
* Modify config error handling
* cargo xtask docgen
* impl display for ConfigLoadError
* cargo fmt
* Put keymaps behind dyn access, refactor config.load()
* Update command names
* Update helix-term/src/application.rs
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Switch to unbounded_channel
* Remove --edit-config command
* Update configuration docs
* Revert "Put keymaps behind dyn access", too hard
This reverts commit 06bad8cf49
.
* Add refresh for keys
* Refactor default_keymaps, fix config default, add test
* swap -> store, remove unneeded clone
* cargo fmt
* Rename default_keymaps to default
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
2 years ago
Narazaki Shuji
309f2c2c8e
Revise the color for ui.cursor.match ( #1862 )
...
- bogster.toml
- solarized_dark.toml
- solarized_light.toml
- spacebones_light.toml
2 years ago
Jared Ramirez
22ba668fad
Fix Rescript hightlights query ( #1863 )
3 years ago
Blaž Hrastnik
919ac7ba15
Handle RPC returning an invalid call
3 years ago
Slin Lee
3e78b8fdad
Add syntax highlighting for Solidity ( #1854 )
3 years ago
Slin Lee
79477ec6e7
Fix typo in query parsing error message ( #1856 )
3 years ago
Slin Lee
3c79bf5117
Add LSP support for Solidity ( #1848 )
...
* Add LSP support for Solidity
This requires a recent version of Solidity 0.8.11+
* Add Solidity to docs
* Update the docs
3 years ago
dependabot[bot]
5d7fa57754
build(deps): bump lsp-types from 0.92.0 to 0.92.1 ( #1852 )
...
Bumps [lsp-types](https://github.com/gluon-lang/lsp-types ) from 0.92.0 to 0.92.1.
- [Release notes](https://github.com/gluon-lang/lsp-types/releases )
- [Changelog](https://github.com/gluon-lang/lsp-types/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gluon-lang/lsp-types/compare/v0.92.0...v0.92.1 )
---
updated-dependencies:
- dependency-name: lsp-types
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
1de99cf46a
build(deps): bump which from 4.2.4 to 4.2.5 ( #1851 )
...
Bumps [which](https://github.com/harryfei/which-rs ) from 4.2.4 to 4.2.5.
- [Release notes](https://github.com/harryfei/which-rs/releases )
- [Commits](https://github.com/harryfei/which-rs/compare/4.2.4...4.2.5 )
---
updated-dependencies:
- dependency-name: which
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
585347aca0
build(deps): bump actions/cache from 2.1.7 to 3 ( #1850 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2.1.7 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2.1.7...v3 )
---
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>
3 years ago
zetashift
7eb013c6fb
Initial basic Org markup support thanks to tree-sitter-org ( #1845 )
3 years ago
Blaž Hrastnik
a7ee9f74f7
No need for KeymapResult anymore since we can query .sticky()
3 years ago
Blaž Hrastnik
7909d6f05e
keymap: Store pending/sticky on the root level
3 years ago
Michael Davis
cfd992b151
update tree-sitter-git-commit ( #1838 )
...
changes:
- any text following a (scissors) is now contained in one (message)
- this vastly improves performance on large verbose commits:
no more slowness on huge commits
3 years ago
Ivan Tham
533cca7195
Improve bug report template ( #1826 )
3 years ago
Michael Davis
cb7b674f87
cleanup changelog markup ( #1829 )
3 years ago
Blaž Hrastnik
0b9620108d
ropey 1.4.1 fixes the issue
3 years ago
Blaž Hrastnik
2376fc875e
Temporarily turn on unicode-lines
...
Ropey's non-unicode lines impl has some bugs still
3 years ago
Blaž Hrastnik
16e2b2e36b
ropey 1.4.0 is out!
3 years ago
Blaž Hrastnik
f67e1ee172
Put esoteric line endings behind a feature flag
3 years ago
Blaž Hrastnik
b4a282fd36
Configure ropey to only use CR/CRLF line breaks by default
...
Fixes #1643
3 years ago
Blaž Hrastnik
59f05088b9
Optimize rendering by using Ropey::byte_slice
...
This avoids costly conversions via byte_to_char (which are then
reversed back into bytes internally in Ropey).
Reduces time spent in slice/byte_to_char from ~24% to ~5%.
3 years ago
Michael Davis
c6bd105484
fix enum definition for use-grammars selections ( #1818 )
...
See https://github.com/helix-editor/helix/discussions/1817
It looks like we need the enums to have the `only`/`except` fields in order
to deserialize correctly.
3 years ago
Blaž Hrastnik
20a132e36f
Update dependencies (crossterm 0.23.1)
...
Fixes #1654
3 years ago
Gokul Soumya
2b0835b295
Refactor :set to parse by deserializing values ( #1799 )
...
* Refactor :set to parse by deserializing values
* Implement serialize for idle_timeout config
3 years ago
ChrHorn
0902ede7b1
simplify Julia config ( #1811 )
...
* simplify Julia config
* remove trailing whitespace
3 years ago
dependabot[bot]
9400d74307
build(deps): bump tree-sitter from 0.20.5 to 0.20.6 ( #1813 )
...
Bumps [tree-sitter](https://github.com/tree-sitter/tree-sitter ) from 0.20.5 to 0.20.6.
- [Release notes](https://github.com/tree-sitter/tree-sitter/releases )
- [Commits](https://github.com/tree-sitter/tree-sitter/compare/v0.20.5...v0.20.6 )
---
updated-dependencies:
- dependency-name: tree-sitter
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
be2b452a39
build(deps): bump regex from 1.5.4 to 1.5.5 ( #1812 )
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.5.4 to 1.5.5.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.5.4...1.5.5 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Joe
c0dbd6dc3f
Add horizontal and vertical split scratch buffers ( #1763 )
...
Make subcommand name more descriptive
Fix vsplit completer
Run cargo xtask docgen
3 years ago
Gokul Soumya
85492e587c
Deploy docs for master separately ( #1783 )
...
* Deploy docs for master separately
* Output docs for every tagged release
* Update .github/workflows/gh-pages.yml
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
3 years ago
Rohan Jain
1ac576f2b3
Handle panic on move within empty picker ( #1786 )
...
When the picker results output is empty, movement actions result in a panic:
```
thread 'main' panicked at 'attempt to calculate the remainder with a divisor of zero', helix-term/src/ui/picker.rs:420:31
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```
This could be a no-op instead when the matches length is zero.
3 years ago
Ivan Tham
29d6a5a9b6
Perform extend line on every selection ( #1804 )
...
Currently `x` only affect the current selection, but this will make it
affect every selection so `x` can be more useful with multi-cursors.
3 years ago
Ivan Tham
3d76fa0b81
Match in visual use head not anchor ( #1805 )
...
Currently match is finding the match based on the anchor rather than the
head (cursor) so this behavior is rather unexpected when user is doing
a match but a different item was matched instead when the selection is
more than one character.
3 years ago
Michael Davis
43fc073cb3
ci: configure restore-keys for caches ( #1806 )
...
`restore-keys` is a configuration option for the actions/cache action
which specifies fallback behavior. The [docs][docs] say it best:
> When a cache miss occurs, the action searches for alternate keys
> called `restore-keys`.
>
> If you provide `restore-keys`, the `cache` action sequentially
> searches for any caches that match the list of `restore-keys`.
> ... If there are no exact matches, the action searches for partial
> matches of the restore keys. When the action finds a partial match,
> the most recent cache is restored to the `path` directory.
So this improves caching when there's a miss. For example if I edit
`.github/workflows/languages.toml`, the current behavior is that the
cache for downloaded grammars will miss and all of them will need to
be fetched again. With `restore-keys`, we use the latest published
cache as 'good enough', we'll fetch whatever grammars changed, and
then at the end we publish a new cache under the new hash.
[docs]: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#example-using-the-cache-action
3 years ago