aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* refactor helpers, use new test helpersSkyler Hawthorne2022-06-19
|
* Fix initial selection of Document in new viewSkyler Hawthorne2022-06-19
| | | | | | | | | | | When a new View of a Document is created, a default cursor of 0, 0 is created, and it does not get normalized to a single width cursor until at least one movement of the cursor happens. This appears to have no practical negative effect that I could find, but it makes tests difficult to work with, since the initial selection is not what you expect it to be. This changes the initial selection of a new View to be the width of the first grapheme in the text.
* improve test harnessSkyler Hawthorne2022-06-19
| | | | | | | * Use new macro syntax for encoding sequences of keys * Make convenience helpers for common test pattern * Use indoc for inline indented raw strings * Add feature flag for integration testing to disable rendering
* Integration testing harnessBlaž Hrastnik2022-06-19
|
* Simplify handle_terminal_events signatureBlaž Hrastnik2022-06-19
|
* move config parsing back into mainSkyler Hawthorne2022-06-19
|
* Add "<<=" operator to Rust syntax highlighting (#2805)A-Walrus2022-06-18
|
* embed jsonrpc types from jsonrpc-core crate (#2801)Michael Davis2022-06-18
| | | | | | | | | | | | | | We should not depend on jsonrpc-core anymore: * The project just announced it's no longer actively maintained[^1], preferring their new implementation in `jsonrpsee`. * The types are too strict: we would benefit from removing some `#[serde(deny_unknown_fields)]` annotations to allow language servers that disrespect the spec[^2]. * We don't use much of the project. Just the types out of core. These are easy to embed directly into the `helix-lsp` crate. [^1]: https://github.com/paritytech/jsonrpc/pull/674 [^2]: https://github.com/helix-editor/helix/issues/2786
* HEEx: upgrade version and support new special_attribute node (#2800)Clay2022-06-17
|
* simplify some keymap key names follow up tests (#2694)Henry2022-06-17
|
* Update theme base16_default (`ui.menu`) (#2794)Grenier Célestin2022-06-17
|
* Restore section spacing in tutor. (#2791)nosa2022-06-16
|
* views -> buffers in write-all (#2788)Gygaxis Vainhardt2022-06-16
|
* Add clojure language support (#2780)Axot2022-06-16
| | | Co-authored-by: Mateusz Ledwoń <mateusz.ledwon@iteo.com>
* update tutor (#2716)nosa2022-06-15
| | | | | | | | | | | | | * update tutor * Capitalize "command mode ". * Update runtime/tutor.txt Editing mistake. Co-authored-by: Michael Davis <mcarsondavis@gmail.com> Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Update auto-pairs and idle-timeout when the config is reloaded (#2736)Bjorn Ove Hay Andersen2022-06-15
|
* Add migrate from Vim wiki link (#2781)Tennix2022-06-15
|
* Improve markdown list rendering (#2687)Frojdholm2022-06-15
| | | | | | | * Cleanup old commented code * Implement line breaks in markdown rendering * Implement markdown nested, numbered and multiparagraph lists
* Better handling of symlinks (#2718)Roland Kovacs2022-06-15
| | | | | | | | | | - Add file-picker.follow-symlinks configuration option (default is true), this also controls if filename and directory completers follow symlinks. - Update FilePicker to set editor error if opening a file fails, instead of panicing. Fix #1548 Fix #2246
* Introduce storage_class highlight scope (#2731)Anton Romanov2022-06-14
|
* simplify fallback for selected line-number theming (#2768)Michael Davis2022-06-14
|
* Add a check to prevent re-selecting same range (#2760)Ryang Sohn2022-06-14
|
* Cleanup for runtime/tutor.txt (#2590)Kappa2022-06-13
|
* Clarified the text in chapter 3 of the tutor (#2735)Bjorn Ove Hay Andersen2022-06-13
| | | | | * Clarified the text in chapter 3 of the tutor (#2725) * Adjusted section 3.1 to better show how C works
* Expand chapter one recap of tutorJonas Tepe2022-06-12
| | | | | This add the missing variant of entering insert mode to the chapter 1 recap section.
* add prisma tree-sitter and lsp support (#2703)Ivan2022-06-12
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Add docstring for language_server!() macro (#2750)Gokul Soumya2022-06-12
|
* Refactor textobject node capture (#2741)Gokul Soumya2022-06-11
|
* add rust-analyzer to shell environment (#2739)Daniel Hines2022-06-11
|
* elixirLS disable dialyzer by default (#2710)Clay2022-06-10
| | | | | | Not all Elixir projects use dialyzer and it can cause the editor to slow down quite a bit on large projects if the PLT is not built. See https://github.com/elixir-lsp/elixir-ls#dialyzer-integration=
* fix spelling of catppuccin theme (#2713)Danny2022-06-08
|
* Do not add extra line breaks in markdown lists (#2689)Frojdholm2022-06-08
|
* capture rust closures as function textobjectsMichael Davis2022-06-07
| | | | | | | | | Closures like iter.map(|a| a + 1) Are sort-of functions, so `]f` or `maf` or `mif` can apply to them as well as named function definitions.
* add textobject queries for gleamMichael Davis2022-06-07
|
* add textobject queries for elixirMichael Davis2022-06-07
|
* add textobject queries for erlangMichael Davis2022-06-07
|
* build(deps): bump tokio-stream from 0.1.8 to 0.1.9 (#2690)dependabot[bot]2022-06-07
| | | | | | | | | | | | | | | | Bumps [tokio-stream](https://github.com/tokio-rs/tokio) from 0.1.8 to 0.1.9. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-stream-0.1.8...tokio-stream-0.1.9) --- 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>
* build(deps): bump tokio from 1.18.2 to 1.19.2 (#2691)dependabot[bot]2022-06-07
| | | | | | | | | | | | | | | | Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.18.2 to 1.19.2. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/commits) --- 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>
* chore(nix): format nix files with alejandra, update deps, minor code ↵Yusuf Bera Ertan2022-06-06
| | | | refactors (#2683)
* support for openscad (#2680)farwyler2022-06-06
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Refactor push_jump so we're not needlessly fetching doc twiceBlaž Hrastnik2022-06-06
|
* minor: Simplify Document.language_id()Blaž Hrastnik2022-06-06
|
* prompt: If submitting empty prompt, use default (last used)Blaž Hrastnik2022-06-06
|
* simplify some keymap key names (#2677)Henry2022-06-06
|
* Use a minimal binary to fetch grammar sources in release CI (#2557)Michael Davis2022-06-05
| | | | | | | | | | | | This is an optimization for the release CI. The release CI can take a while since it compiles release builds for all operating systems. We cut down on duplicate work and overall time by fetching tree-sitter grammar repositories and then using those repositories in all later steps. Previously we built all of helix just to run helix_loader::grammar::fetch_grammars() which is wasteful on time. With this change we only build the helix-loader crate.
* Add shell insert commands to typable and config (#2589)Termina942022-06-05
| | | | | | | * Add shell insert commands to typable and config * generate docs Co-authored-by: Dean Revell <revell@gmail.com>
* Passing extra formatting options to LSPs (#2635)farwyler2022-06-05
| | | | | | | | | | | | | * allows passing extra formatting options to LSPs - adds optional field 'format' to [[language]] sections in 'languages.toml' - passes specified options the LSPs via FormattingOptions * cleaner conversion of formatting properties * move formatting options inside lsp::Client * cleans up formatting properties merge
* Fix crash due to cycles when replaying macros (#2647)gavynriebau2022-06-05
| | | | | | | | In certain circumstances it was possible to get into an infinite loop when replaying macros such as when different macros attempt to replay each other. This commit adds changes to track which macros are currently being replayed and prevent getting into infinite loops.
* ensure :quit and :quit! take no arguments (#2654)Michael Davis2022-06-05
|
* Avoid modifying jumplist until jumping to ref (#2670)yzwduck2022-06-05
| | | | | | When a goto command is cancelled, the jumplist should remain unchanged. This commit delays saving the current selection to the jumplist until jumping to a reference.