aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* tutor: Normalize key names, capitalization, etc.Tim Siegel2022-10-12
|
* book: Refer to keys by key names, not representationsTim Siegel2022-10-12
| | | | | | | | | | | | | | | | | | This is an attempt to clean up the inconsistent way that keys are written in various places. These rules require the fewest changes to the existing text. Use the "Key name", as defined in remapping.md, which uses "Some-Modifiers-PascalCaseKey". The "Representation", which uses "S-M-lowercasekey", is only used for configuration entries. For key combinations which do not present a popup, just present the keys one after the other, with no intervening space, like `]p`. For key combinations which present a popup, separate them with ` + `, like `Space + f`. The Ctrl modifier is called Ctrl, not Control.
* tutor: Minor grammar fixTim Siegel2022-10-12
| | | | No need to say additionally, as well, also, etc. One is enough.
* tutor: Clarify forward reference to "primary selection"Tim Siegel2022-10-12
|
* tutor: Clarify first multi-cursor exampleTim Siegel2022-10-12
| | | | | If the reader is unfortunate enough to place the cursor at the beginning of the line on step #1, subsequent steps will fail.
* tutor: Clarify forward reference to "select command"Tim Siegel2022-10-12
| | | | | | The phrase "Like the select command" suggests that the reader has been introduced to select already. That doesn't happen until the next chapter.
* Apply transactions to the jumplist for undo/redo (#4227)Michael Davis2022-10-12
| | | | | Undo/redo/earlier/later call `Document::apply_impl` which applies transactions to the document. These transactions also need to be applied to the view as in 0aedef0.
* Fix some commands not showing names in palette (#4223)Armin Ronacher2022-10-12
|
* Update tree-sitter-lua and add textobjects for Lua (#3552)Lennard Hofmann2022-10-12
|
* Fix append cursor location when selection anchor is at end of document (#4147)Graic2022-10-12
|
* Rearrange README.md slightly (#4206)Jacob Kiesel2022-10-11
|
* Fix confusion with using --hsplit --vsplit on startup at same time (#4202)Brian Orwe2022-10-11
|
* Rename extend indent captures.Daniel Ebert2022-10-11
| | | | Clarify comments in indent code.
* Slightly change the behavior of the `@stop-extend` capture.Daniel Ebert2022-10-11
| | | | This improves the behavior in case of multiple nested extensions.
* Improve code style for tree-sitter indentation.Daniel Ebert2022-10-11
| | | | Split extend logic into a separate file.
* Fix a bug that caused the indent for the line below to also be added in rare ↵Triton1712022-10-11
| | | | cases at the beginning of a file.
* Fix clippy warning.Triton1712022-10-11
|
* Add python indentation support to docs.Triton1712022-10-11
| | | | Document @extend-indented and @stop-extend captures for indent queries.
* Add `extend-indented` and `stop-extend` captures for indent queries.Triton1712022-10-11
| | | | Improve and re-enable python indent queries.
* update everforest theme (#3998)Alex2022-10-11
|
* Add colours "color-modes" to ayu_light theme (#4109)Stuart Baker2022-10-11
| | | | | | | * Rename "dark gray" to "light gray" * Add colours for statusline modes * Use UI background for inactive panes
* do not reparse unmodified injections (#4146)Pascal Kuthe2022-10-11
|
* fix: remove unneeded allocations when calling helix_view::Info::newAlexis (Poliorcetics) Bourget2022-10-11
|
* chore: fix clippy lintingAlexis (Poliorcetics) Bourget2022-10-11
|
* Overlay all diagnostics with highest severity on top (#4113)Michael Davis2022-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here we separate the diagnostics by severity and then overlay the Vec of spans for each severity on top of the highlights. The error diagnostics end up overlaid on the warning diagnostics, which are overlaid on the hints, overlaid on info, overlaid on any other severity (default), then overlaid on the syntax highlights. This fixes two things: * Error diagnostics are now always visible when overlapped with other diagnostics. * Ghost text is eliminated. * Ghost text was caused by duplicate diagnostics at the EOF: overlaps within the merged `Vec<(usize, Range<usize>)>` violate assumptions in `helix_core::syntax::Merge`. * When we push a new range, we check it against the last range and merge the two if they overlap. This is safe because they both have the same severity and therefore highlight. The actual merge is skipped for any of these when they are empty, so this is very fast in practice. For some data, I threw together an FPS counter which renders as fast as possible and logs the renders per second. With no diagnostics, I see an FPS gain from this change from 868 FPS to 878 (+1.1%) on a release build on a Rust file. On an Erlang file with 12 error diagnostics and 6 warnings in view (233 errors and 66 warnings total), I see a decrease in average FPS from 795 to 790 (-0.6%) on a release build.
* remove filterting with C-space from pickerPascal Kuthe2022-10-11
|
* Treat space as a seperator instead of a character in fuzzy pickerPascal Kuthe2022-10-11
|
* Add a helper function for applying transactionsMichael Davis2022-10-11
| | | | | | It is easy to forget to call `Document::apply` and/or `View::apply` in the correct order. This commit introduces a helper function which closes over both calls.
* Apply transactions to ViewsMichael Davis2022-10-11
| | | | | | This change adds View::apply calls for all Document::apply call-sites, ensuring that changes to a document do not leave invalid entries in the View's jumplist.
* Add View::apply for adjusting jumplist rangesMichael Davis2022-10-11
| | | | | | | Applying a transaction to a View adjusts the ranges in the jumplist to ensure that they remain within the text of the document and follow regular selection invariants (for example, must be have a width of at least one).
* picker: Highlight the document on idle timeoutBlaž Hrastnik2022-10-11
|
* Propagate idle timeout event to components (#3172)Gokul Soumya2022-10-11
|
* build(deps): bump serde_json from 1.0.85 to 1.0.86 (#4187)dependabot[bot]2022-10-10
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Change twig tree-sitter grammar (#4176)gbprod2022-10-10
|
* Add some vertical characters to the editor.indent-guides documentation (#4163)Sumit Sahrawat2022-10-10
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Add instructions for gnome desktop support using the `.desktop` file (#4165)David2022-10-10
|
* Fix goto/view center mismatch (#4135)Brandon Dong2022-10-10
|
* Improve C# syntax highlighting (#4118)Chickenkeeper2022-10-10
|
* Use different cursor color for primary cursor for ayu_mirage (#4140)S1m2022-10-10
|
* tutor: 5.5 add missing words (#4160)Mike Sampson2022-10-09
|
* Add cursorcolumn (#4084)A-Walrus2022-10-08
| | | | | | | | | | | | | | | * Implement cursorcolumn * Add documentation * Separate column style from line with fallback * Fallback to cursorcolumn first * Switch to non-fallback try_get_exact Add new function `try_get_exact`, which doesn't perform fallback, and use that instead because the fallback behaviour is being handled manually.
* Fix incorrect scrolloff default in documentation (#4136)Brandon Dong2022-10-07
|
* Update sonokai.toml (#4089)Oleksii Dorozhkin2022-10-06
|
* Pallettise the bogster theme and, more importantly, add support for ↵allanderek2022-10-06
| | | | color-modes to the bogster theme. (#4121)
* Fix tutor typo (#4116)Jonathan2022-10-05
|
* Fix bugs in search wraparound message (#4101)A-Walrus2022-10-04
|
* doc: add theme inheritance example (#4096)Jaden2022-10-04
|
* doc: add example to disable arrow keys in insert mode (#4088)Poliorcetics2022-10-04
|
* build(deps): bump thiserror from 1.0.36 to 1.0.37 (#4095)dependabot[bot]2022-10-03
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump tokio from 1.21.1 to 1.21.2 (#4094)dependabot[bot]2022-10-03
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>