aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Merge branch 'master' into cursor-shape-newGokul Soumya2022-01-06
|\
| * feat(commands): shrink_selection (#1340)Matouš Dzivjak2022-01-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat(commands): shrink_selection Add `shrink_selection` command that can be used to shrink previously expanded selection. To make `shrink_selection` work it was necessary to add selection history to the Document since we want to shrink the selection towards the syntax tree node that was initially selected. Selection history is cleared any time the user changes selection other way than by `expand_selection`. This ensures that we don't get some funky edge cases when user calls `shrink_selection`. Related: https://github.com/helix-editor/helix/discussions/1328 * Refactor shrink_selection, move history to view * Remove useless comment * Add default key mapping for extend&shrink selection * Rework contains_selection method * Shrink selection without expand selects first child
| * Fix null and boolean constants in tree-sitter-nix highlights queries (#1428)Philipp Mildenberger2022-01-06
| |
| * fix: Use std::path::MAIN_SEPARATOR to determine completionBlaž Hrastnik2022-01-06
| | | | | | | | Refs #1439
| * fix slash in search selector status message (#1449)Stuart Hinson2022-01-06
| |
| * fix: Only use shellwords parsing on unix platformsBlaž Hrastnik2022-01-05
| |
| * Revert "Convert Windows style path separator in completers to Unix style ↵Blaž Hrastnik2022-01-05
| | | | | | | | | | | | (#1389)" This reverts commit 49444f9c0569a070ffd3c82cee6146656a0ac63c.
| * minor: Fix previous version's headerBlaž Hrastnik2022-01-04
| |
| * minor: Fix some changelog linksBlaž Hrastnik2022-01-04
| |
| * Release 0.6Blaž Hrastnik2022-01-04
| |
| * Update changelogBlaž Hrastnik2022-01-04
| |
| * Add textobjects and indents to c and cpp (#1293)Sebastian Neubauer2022-01-04
| | | | | | | | | | | | | | | | | | | | Indentation of single line statements doesn't work, i.e. for (;;)<hit enter> leads to for(;;) <cursor here> Only blocks with curly braces are indented.
| * Add llvm-mir highlighting (#1398)Sebastian Neubauer2022-01-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add injection regex for more languages To support embedding them in other languages like markdown. * Add llvm-mir highlighting LLVM Machine IR is dumped as yaml files that can embed LLVM IR and Machine IR. To support this, add a llvm-mir-yaml language that uses the yaml parser, but uses different injections to highlight IR and MIR. * Update submodule with fixed multiline comments Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
| * Fix grammatical error (#1427)dumrich2022-01-04
| | | | | | it's to its (possessive)
| * build(deps): bump tree-sitter from 0.20.1 to 0.20.2 (#1429)dependabot[bot]2022-01-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [tree-sitter](https://github.com/tree-sitter/tree-sitter) from 0.20.1 to 0.20.2. - [Release notes](https://github.com/tree-sitter/tree-sitter/releases) - [Commits](https://github.com/tree-sitter/tree-sitter/compare/v0.20.1...v0.20.2) --- 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>
| * build(deps): bump serde_json from 1.0.73 to 1.0.74 (#1430)dependabot[bot]2022-01-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.73 to 1.0.74. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.73...v1.0.74) --- updated-dependencies: - dependency-name: serde_json 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>
| * build(deps): bump ropey from 1.3.1 to 1.3.2 (#1431)dependabot[bot]2022-01-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [ropey](https://github.com/cessen/ropey) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/cessen/ropey/releases) - [Changelog](https://github.com/cessen/ropey/blob/master/CHANGELOG.md) - [Commits](https://github.com/cessen/ropey/compare/v1.3.1...v1.3.2) --- updated-dependencies: - dependency-name: ropey 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>
| * build(deps): bump serde from 1.0.132 to 1.0.133 (#1432)dependabot[bot]2022-01-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [serde](https://github.com/serde-rs/serde) from 1.0.132 to 1.0.133. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.132...v1.0.133) --- updated-dependencies: - dependency-name: serde 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>
| * scroll: change only main selection, only when needed (#1420)Mathis Brossier2022-01-03
| | | | | | Co-authored-by: mathis <mathis.brossier@universite-paris-saclay.fr>
| * Add everforest_light, change everforest_dark string color (#1412)WindSoilder2022-01-03
| |
| * Add `:cquit!` command and prevent `:cquit` from ignoring unsaved changes (#1414)Omnikar2022-01-03
| | | | | | | | | | * Add `:cquit!` command and prevent `:cquit` from ignoring unsaved changes * `cargo xtask docgen`
| * Optimize lsp_pos_to_pos (#1423)Kirawi2022-01-03
| | | | | | lines().count() is slow compared to len_lines()
| * Add basic indentation for languages without treesitter-based indentation ↵Triton1712022-01-03
| | | | | | | | | | | | | | rules (always use the indent of the current line for a new line). (#1341) Fix several bugs in the treesitter indentation calculation. Co-authored-by: Triton171 <triton0171@gmail.com>
| * Add LLVM TableGen highlighting (#1409)Sebastian Neubauer2022-01-03
| | | | | | | | | | | | | | Add a tree-sitter grammar and highlights for TableGen files. TableGen and its grammar are described here: https://llvm.org/docs/TableGen/index.html Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
| * switch redundant current! usage to doc! (#1416)Kirawi2022-01-03
| |
| * Underline diagnostics in bogster theme (#1399)Martin Junghanns2022-01-02
| |
| * Fix markdown code-block highlightingFlakebi2022-01-01
| | | | | | | | | | Markdown code blocks should be highlighted as a single block, so set injection.include-children.
| * Detect workspace root using language markers (#1370)Alexis Mousset2021-12-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Detect workspace root using language markers * Avoid allocating root_markers * Update helix-core/src/lib.rs Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> * Update helix-core/src/lib.rs Co-authored-by: Kirawi <67773714+kirawi@users.noreply.github.com> Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> Co-authored-by: Kirawi <67773714+kirawi@users.noreply.github.com>
| * add tree-sitter-git-rebase (#1402)Michael Davis2021-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add submodule on tree-sitter-rebase, add to languages * add basic highlights query * inject bash in execute statements * update tree-sitter-rebase * tree-sitter-rebase->tree-sitter-git-rebase * get injection working with tree-sitter-git-commit * set scope under source.gitrebase * unset include-children on commit message injections * Revert "unset include-children on commit message injections" This reverts commit 2ecee155ea8e229651920b291062c2ee84b47944. * fix generated language docs * use rebase_command scopes from tree-sitter-git-commit
| * Don't just filter commands by fuzzy match, also order the matchesBlaž Hrastnik2021-12-30
| |
| * Add tree-sitter-git-diff (#1373)Michael Davis2021-12-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add submodule on tree-sitter-git-diff * add git-diff highlights * inject git-diff into git-commit * update tree-sitter-git-commit with fix for bad diff case * add git-diff to language support docs * include-children in diff injections This ensures that children nodes of $.message are included in the injection, such as $.user or issue/pr numbers. Without this change, diffs containing '#' or '@' characters can trip up the injection and be parsed separately. See https://github.com/helix-editor/helix/pull/1373#issuecomment-1001215629 * set diff language's scope as source.diff
| * Convert Windows style path separator in completers to Unix style (#1389)ath32021-12-29
| |
| * Improve llvm highlighting and queries (#1388)Sebastian Neubauer2021-12-29
| | | | | | | | | | | | | | | | * Improve llvm highlighting and queries The llvm tree-sitter parser was updated to support scopes and more accurate highlighting. * Group highlight expressions better
| * Fix: when goto normal mode, only want to remove indentation if the line is ↵WindSoilder2021-12-29
| | | | | | | | | | | | | | blank with no text following (#1349) * when opened new line contains other characters after current position, don't dedent * abstract checking logic
| * Use a fuzzy matcher for commands (#1386)Stuart Hinson2021-12-29
| | | | | | | | | | | | | | * Use a fuzzy matcher for commands * Take Clippy up on its suggestion * Rescope FUZZY_MATCHER
| * feat(commands): ensure_selections_forward (#1393)Matouš Dzivjak2021-12-29
| | | | | | | | | | | | | | | | | | | | | | | | | | * feat(commands): ensure_selections_forward Add command that ensures that selections are in forward direction. Fixes: https://github.com/helix-editor/helix/issues/1332 * Add keybinding for ensure_selections_forward Add `A-:` keybinding for the ensure_selections_forward command. * Re-use range.flip for flip_selections command
| * build(deps): bump anyhow from 1.0.51 to 1.0.52 (#1392)dependabot[bot]2021-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.51 to 1.0.52. - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.51...1.0.52) --- updated-dependencies: - dependency-name: anyhow 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>
| * build(deps): bump chardetng from 0.1.15 to 0.1.17 (#1390)dependabot[bot]2021-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [chardetng](https://github.com/hsivonen/chardetng) from 0.1.15 to 0.1.17. - [Release notes](https://github.com/hsivonen/chardetng/releases) - [Commits](https://github.com/hsivonen/chardetng/compare/v0.1.15...v0.1.17) --- updated-dependencies: - dependency-name: chardetng 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>
| * Fix indentation (#1387)Omnikar2021-12-27
| |
| * feat(commands): sort command (#1288)Matouš Dzivjak2021-12-27
| | | | | | | | | | | | | | | | | | | | | | * feat(commands): sort/rsort command Add basic implementation of sort command. * Sort by selections instead, implement reverse sort * Generate docs * Rename sort! to rsort
| * Add ruby indents (#1372)Stuart Hinson2021-12-27
| | | | | | | | | | * Add ruby indents * Include ruby in generated docs
| * Extract macro parsing to `helix-view` and add unit testsOmnikar2021-12-27
| |
| * Change how macros separate keypressesOmnikar2021-12-27
| | | | | | | | | | | | * Keypresses are no longer separated by spaces * Single-character keypresses are serialized as-is * Multi-character keypresses are delimited by `<>`
| * Update macro display as [q] in messageIvan Tham2021-12-27
| |
| * Mark macros as experimental in docsIvan Tham2021-12-27
| | | | | | | | | | Given that currently macro does not integrate well with registers and the internal representation of macros is expected to be changed.
| * Rename play macro to replay macroIvan Tham2021-12-27
| | | | | | | | | | Macro needs to be defined first before playing so replay is more accurate. Also, replay have the same length as record which makes it looks nice.
| * Improve macro error handlingIvan Tham2021-12-27
| |
| * Switch macro Q and qIvan Tham2021-12-27
| |
| * Update settings at runtime (#798)Tamo2021-12-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: Update settings at runtime fix the clippy warning * update the documentation * use to_value instead of to_vec+from_value * drop the equal * remove an useless comment * apply suggestion
| * highlight rebase-commands as markup.rawMichael Davis2021-12-25
| |