Commit Graph

5724 Commits (6ed0d0cd39d40a9ed3a693c0473499a71ea6f152)
 

Author SHA1 Message Date
Daniel Poulin 924b7d3b19 Adjust PHP indentation defaults to 4 spaces
In the PHP community, 4 spaces is widely considered the default, as
it is recommended by the PSR-2 and PSR-12 standards, as well as popular
derivative standards like those for Laravel and Symphony.
CossonLeo 1720b98760
only remove primary index when search next without extend ()
dependabot[bot] 44ff597841
build(deps): bump tokio-stream from 0.1.7 to 0.1.8 ()
Bumps [tokio-stream](https://github.com/tokio-rs/tokio) from 0.1.7 to 0.1.8.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-stream-0.1.7...tokio-stream-0.1.8)

---
updated-dependencies:
- dependency-name: tokio-stream
  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>
dependabot[bot] 0c381adcb1
build(deps): bump lsp-types from 0.91.0 to 0.91.1 ()
Bumps [lsp-types](https://github.com/gluon-lang/lsp-types) from 0.91.0 to 0.91.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.91.0...v0.91.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>
dependabot[bot] a13af476c1
build(deps): bump tokio from 1.12.0 to 1.13.0 ()
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.12.0...tokio-1.13.0)

---
updated-dependencies:
- dependency-name: tokio
  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>
Omnikar 2f8ad7f890
If switching away from an empty scratch buffer, remove it ()
* If switching away from an empty scratch buffer, remove it

* Move `view.jumps.push` call into `else` clause

* Refactor
kabirz 592fba1100 add cmake-language-server as cmake language server
Gokul Soumya ea452bec80
Update onedark theme ()
- Use named color palette
- Remove blue highlight for variables (too much noise)
- Add purple highlight for control statements (if, match, etc)
Gygaxis Vainhardt f140a2a00e
Add arrow-key bindings for window switching ()
Blaž Hrastnik e5de103728 Extract a clear_completion method
Za Wilcox 68697cb332
Move 'Note' from incorrect location ()
Houkime a1c7e55e3b
update cpp queries ()
Co-authored-by: Houkime <>
Ivan Tham 49f6c2623f
Bump lsp-types to 0.91.0 ()
Kirawi cec0cfdaec
Uncomment mapping LSP diagnostics through changes ()
Ivan Tham bc6a34d97e
Make match work with extend and multi cursors ()
Ivan Tham 21d535565b
Support extend for multiple goto ()
gg, ge, [n]gg
cossonleo befecc8a9a select smaller range on some case
cossonleo f1d339919f add expand_selection to last_motion
Omnikar 45fadf6151
Add hyperlinks to fix `cargo doc` warn ()
ath3 58b8100751
Mention CMake support in changelog ()
Blaž Hrastnik c02534d261 changelog: Add links to all pull requests
Blaž Hrastnik 8af6d713cd Fix the release date
Blaž Hrastnik a1b7f003a6 Include the missing dependency bump
Blaž Hrastnik f3c7f20dbc Release v0.5.0
Omnikar db56de589a
Add `--tutor` option to `hx --help` output ()
* Add `--tutor` option to `hx --help` output

* Adjust `--tutor` location in help output
Blaž Hrastnik c1e5831b21 set_path: Pass in the function directly
Blaž Hrastnik 3e69a4852e Simplify set_path
Gygaxis Vainhardt 0a38983ee3
Remove three transmutes from helix-core syntax.rs ()
Omnikar e2ed691537
Implement `hx --tutor` and `:tutor` to load `tutor.txt` ()
* Implement `hx --tutor` and `:tutor` to load `tutor.txt`

* Document `hx --tutor` and `:tutor`

* Change `Document::set_path` to take an `Option`

* `Document::set_path` accepts an `Option<&Path>` instead of `&Path`.
* Remove `Editor::open_tutor` and make tutor-open functionality use
  `Editor::open` and `Document::set_path`.

* Use `PathBuf::join`

Co-authored-by: Ivan Tham <pickfire@riseup.net>

* Add comments explaining unsetting tutor path

Co-authored-by: Ivan Tham <pickfire@riseup.net>
Nehliin 3b0c5e993a Use deserialization fix instead
Oskar Nehlin 6e455fd3fb Apply suggestions from code review
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
Nehliin da4d9340ba Make key macro more portable
Nehliin a4c5f46739 Fix order being empty and add test
Nehliin f133d80e70 Move test to test module
Nehliin fbba47fbc0 Fix panic when using multi-level key mapping
Blaž Hrastnik 5501669f8c Revert "minor: Rearrange helix-term Cargo.toml"
This reverts commit 2cee0c58ba.
Blaž Hrastnik 4a32851103
Break CI cache
Blaž Hrastnik 1066b081dd fix: When cycling through prompt history, update event needs to trigger
Blaž Hrastnik 2cee0c58ba minor: Rearrange helix-term Cargo.toml
Blaž Hrastnik 3fe353c47c Remove some old TODOs
Blaž Hrastnik e36ad8b4ed minor: Further simplify take_with
Omnikar 2505802d39
Improve statusline ()
* Improve statusline

* Change diagnostic count display to show counts of individual
  diagnostic types next to their corresponding gutter dots.
* Add selection count to the statusline.

* Do not display info or hint count in statusline

* Reduce padding

Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>

* Reduce padding

Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>

* Use `Span::styled`

* Reduce padding

* Use `Style::patch`

* Remove unnecessary `Cow` creation

Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
Michael Davis 7e6ade9290 fix: string.regex{=>p}
Michael Davis bf20e51044 use punctuation.special for interpolation #{ }
radical3dd d61e5e686b
Use current dir for file picker, after change dir. ()
CossonLeo f331ba9df4
Clear competion items when start_offset > cursor ()
CossonLeo b142fd4080
move_up will select last item, when no item selected ()
CossonLeo bca98b5bed
Add c-j c-k to menu keymap for move_up move_down ()
dependabot[bot] a0cb9d82d1
build(deps): bump clipboard-win from 4.2.1 to 4.2.2 ()
Bumps [clipboard-win](https://github.com/DoumanAsh/clipboard-win) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/DoumanAsh/clipboard-win/releases)
- [Commits](https://github.com/DoumanAsh/clipboard-win/commits)

---
updated-dependencies:
- dependency-name: clipboard-win
  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>
Kirawi 92c2d5d3bf
Document more of helix-core ()