Commit Graph

5949 Commits (37ee3b3facbd7e2f16f92fea4cc69d922834c8d7)
 

Author SHA1 Message Date
Ingrid 37ee3b3fac fix line feed handling in integration test for windows 2 months ago
Ingrid 36a8a614a9 address hanging TODOs 2 months ago
Ingrid 56b1e20ecb avoid repeated loading of config to check persistence config in startup 2 months ago
Ingrid c3ed498dc9 add integration test for persistent state 2 months ago
Ingrid 554f0f891d only trim persistent state files if persistent state is enabled 2 months ago
Ingrid be1deec1ed add documentation for persistent state 3 months ago
Ingrid 451de43e0b split persistence config options into own struct 3 months ago
Ingrid dfe4b1c3c3 run docgen 3 months ago
Ingrid 23f53f7908 default to <cache dir>/helix/state if state dir is None 3 months ago
Ingrid 175a830e6a add .*/COMMIT_EDITMSG to persistent file exclusions
useful in the case of bare git repos, where the git dir is not always
named .git, and so the previous exclusion wouldn't catch it.
3 months ago
Ingrid 1719bff791 fix rebase breakage 3 months ago
Ingrid da18261b3a add command to reload history 3 months ago
Ingrid afa0f095d9 add trim config options for persistence 3 months ago
Ingrid 95573b5267 add config option to exclude files form old_file_locs 3 months ago
Ingrid 838a9b6c12 trim persistence files 3 months ago
Ingrid bf0429004b fix bug: writes on untruncated histfiles 3 months ago
Ingrid 71217afc0c add on/off config options for persistence 3 months ago
Ingrid 56f47f04f6 persist clipboard 3 months ago
Ingrid 588e0b4b93 save cloning by passing by ref to persistence functions 3 months ago
Ingrid ca16809d75 fix integration tests 3 months ago
Ingrid 69a13fbba2 fix quirky file persistence behaviour 3 months ago
Ingrid 5f3849dc24 store ViewPosition and Selection directly in FileHistoryEntry 3 months ago
Ingrid 677a3dd3be promote type/implementation-specific persistence logic to helix-view 3 months ago
Ingrid 1e99b62828 rename session to persistence 3 months ago
Ingrid 1ae19d9171 avoid exposing internals of register.rs 3 months ago
Ingrid e8baf4bcb5 encode register history with bincode, and merge logic with file history
encoding was found to be necessary because registers can contain line
endings, which breaks the previous lines-of-text format
3 months ago
Ingrid 1cefa2874c load file history
It was necessary make pos in file args an option to prevent it from
overwriting the file positions loaded from persistence.

Alignment is not quite right... I think we need to persist selections
instead of view positions, or disable center aligning
3 months ago
Ingrid ed7fb431aa persist file history 3 months ago
Ingrid b5c5e5d715 move session.rs from helix-term to helix-loader 3 months ago
Ingrid 6f6f3495d5 persist and load search history 3 months ago
Ingrid 69e40a3ea5 handle NotFound error when reading histfile before it has been created 3 months ago
Ingrid 32512a02b4 read command history from file 3 months ago
Ingrid 08f16fd4ca switch to multi-file approach, implement persisting command history 3 months ago
Ingrid 0fcb26c877 rename shada to session 3 months ago
Ingrid 2f13ad6360 switch from rmp-serde to bincode 3 months ago
Ingrid 25ef120da9 disable writing shada in integration tests
will probably need a sophisticated way of handling this eventually for
testing shada behaviour, but for now this is fine
3 months ago
Ingrid ac41d361ee minimal implementation of shada
currently only writes the header when closing
3 months ago
dependabot[bot] 1b5295a3f3
build(deps): bump the rust-dependencies group with 4 updates (#11585)
Bumps the rust-dependencies group with 4 updates: [serde](https://github.com/serde-rs/serde), [serde_json](https://github.com/serde-rs/json), [cc](https://github.com/rust-lang/cc-rs) and [gix](https://github.com/Byron/gitoxide).


Updates `serde` from 1.0.208 to 1.0.209
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.208...v1.0.209)

Updates `serde_json` from 1.0.125 to 1.0.127
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/1.0.125...1.0.127)

Updates `cc` from 1.1.13 to 1.1.15
- [Release notes](https://github.com/rust-lang/cc-rs/releases)
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.13...cc-v1.1.15)

Updates `gix` from 0.64.0 to 0.66.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.64.0...gix-v0.66.0)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-dependencies
- dependency-name: serde_json
  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
- dependency-name: gix
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 months ago
Lennard Hofmann af7a1fd20c
lsp: Gracefully ignore invalid diagnostic severity (#11569) 3 months ago
Yavorski 620dfceb84
Add cshtml to html file-types (#11540) 3 months ago
dependabot[bot] 38e6fcd5c5
build(deps): bump the rust-dependencies group with 7 updates (#11530)
Bumps the rust-dependencies group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [serde](https://github.com/serde-rs/serde) | `1.0.207` | `1.0.208` |
| [serde_json](https://github.com/serde-rs/json) | `1.0.124` | `1.0.125` |
| [tokio](https://github.com/tokio-rs/tokio) | `1.39.2` | `1.39.3` |
| [libc](https://github.com/rust-lang/libc) | `0.2.155` | `0.2.158` |
| [pulldown-cmark](https://github.com/raphlinus/pulldown-cmark) | `0.11.0` | `0.12.0` |
| [cc](https://github.com/rust-lang/cc-rs) | `1.1.10` | `1.1.13` |
| [which](https://github.com/harryfei/which-rs) | `6.0.2` | `6.0.3` |


Updates `serde` from 1.0.207 to 1.0.208
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.207...v1.0.208)

Updates `serde_json` from 1.0.124 to 1.0.125
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.124...1.0.125)

Updates `tokio` from 1.39.2 to 1.39.3
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.39.2...tokio-1.39.3)

Updates `libc` from 0.2.155 to 0.2.158
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.158/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.155...0.2.158)

Updates `pulldown-cmark` from 0.11.0 to 0.12.0
- [Release notes](https://github.com/raphlinus/pulldown-cmark/releases)
- [Commits](https://github.com/raphlinus/pulldown-cmark/compare/v0.11.0...v0.12.0)

Updates `cc` from 1.1.10 to 1.1.13
- [Release notes](https://github.com/rust-lang/cc-rs/releases)
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.10...cc-v1.1.13)

Updates `which` from 6.0.2 to 6.0.3
- [Release notes](https://github.com/harryfei/which-rs/releases)
- [Changelog](https://github.com/harryfei/which-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/harryfei/which-rs/compare/6.0.2...6.0.3)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-dependencies
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-dependencies
- dependency-name: tokio
  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: pulldown-cmark
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust-dependencies
- dependency-name: cc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-dependencies
- dependency-name: which
  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>
3 months ago
0rphee 9e7c488ee3
Update gruvbox themes (#11477) 3 months ago
RoloEdits 4e729dea02
fix: ensure view is initiated for jump_* commands (#11529) 3 months ago
nryz e290479474
copy shell completion to nix output (#11518) 3 months ago
Jaakko Paju b90ec5c779
Add/improve textobject queries (#11513)
* Add textobject queries for YAML

* Add textobject queries for SQL

* Add textobject queries for HOCON

* Add textobject queries for git-config

* Add textobject queries for env

* Add textobject queries for Dockerfile

* Add textobject queries for docker-compose

* Add textobject queries for prisma

* Add entry textobject queries for hcl

* Add entry textobject queries for Nix

* Update docs
3 months ago
Per-Gunnar ff33b07756
Clarify lesson 10.1 wording (#11478)
Co-authored-by: Per-gunnar Eriksson <per-gunnar.eriksson@fortnox.se>
4 months ago
Frans Skarman f9aae99379
Highlight types and enum members in the rust prelude (#8535)
* Add some rust builtins

* rust queries: Add everything in the 2021 prelude

* Update runtime/queries/rust/highlights.scm

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

---------

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
4 months ago
0rphee f65ec32a1c
Update everforest themes (#11459) 4 months ago
dependabot[bot] 112b2878ae
build(deps): bump the rust-dependencies group with 4 updates (#11476)
Bumps the rust-dependencies group with 4 updates: [serde](https://github.com/serde-rs/serde), [serde_json](https://github.com/serde-rs/json), [tempfile](https://github.com/Stebalien/tempfile) and [cc](https://github.com/rust-lang/cc-rs).


Updates `serde` from 1.0.204 to 1.0.207
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.204...v1.0.207)

Updates `serde_json` from 1.0.122 to 1.0.124
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.122...v1.0.124)

Updates `tempfile` from 3.11.0 to 3.12.0
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/commits)

Updates `cc` from 1.1.7 to 1.1.10
- [Release notes](https://github.com/rust-lang/cc-rs/releases)
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.7...cc-v1.1.10)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-dependencies
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-dependencies
- dependency-name: tempfile
  dependency-type: direct:production
  update-type: version-update:semver-minor
  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>
4 months ago
RoloEdits e46cedfc26
refactor(commands): `trim_end` of `sh` output (#11161) 4 months ago