aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Derive Document language name from languages.toml name key (#3338)Michael Davis2022-08-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Derive Document language name from `languages.toml` `name` key This changes switches from deriving the language name from the `languages.toml` `scope` key to `name` (`language_id` in the `LanguageConfiguration` type). For the most part it works to derive the language name from scope by chopping off `source.` or `rsplit_once` on `.` but for some languages we have now like html (`text.html.basic`), it doesn't. This also should be a more accurate fallback for the `language_id` method which is used in LSP and currently uses the `rsplit_once` strategy. Here we expose the language's name as `language_name` on `Document` and replace ad-hoc calculations of the language name with the new method. This is most impactful for the `file-type` statusline element which is using `language_id`. * Use `Document::language_name` for the `file-type` statusline element The `file-type` indicator element in the statusline was using `Document::language_id` which is meant to be used to for telling Language Servers what language we're using. That works for languages with `language-server` configurations in `languages.toml` but shows text otherwise. The new `Document::language_name` method from the parent commit is a more accurate way to determine the language.
* Allow less than and greater than in macros (#3556)A-Walrus2022-08-30
| | | | | * Allow less than and greater than in macros * Fix failing test
* build(deps): bump futures-executor from 0.3.23 to 0.3.24 (#3602)dependabot[bot]2022-08-29
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump futures-util from 0.3.23 to 0.3.24 (#3603)dependabot[bot]2022-08-29
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump lsp-types from 0.93.0 to 0.93.1 (#3601)dependabot[bot]2022-08-29
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Sonokai (#3595)Roman Chumak2022-08-29
| | | Co-authored-by: Roman Chumak <p4ymak@yandex.ru>
* let extend-line respect range direction (#3046)Bob2022-08-29
| | | | | | | | | | | | | * let extend-line respect range direction * fix extend above logic * keep `x` existing binding * Update book/src/keymap.md Co-authored-by: Ivan Tham <pickfire@riseup.net> Co-authored-by: Ivan Tham <pickfire@riseup.net>
* Add bracketed paste (#3233)Charlie Groves2022-08-29
|
* Add wezterm to get_terminal_provider (#3588)unrelentingtech2022-08-29
| | | https://github.com/wez/wezterm is a terminal emulator with its own built-in multiplexer
* Add fleetish theme. Based on the unreleased JetBrains Fleet editor (#3591)Kristoffer Flottorp2022-08-29
| | | Co-authored-by: krfl <kr.fl@outlook.com>
* update colors for papercolor-light (#3585)Soc Virnyl S. Estela2022-08-28
| | | | | | | | | | | | | | | | | * theme: add papercolor light * fix typo * add markup highlighting * theme: added diff colors forgot to add it to PaperColor Light * fix some ui colors * assign more color for markup headings * change heading color to bright7
* Fix rust text objects (#3590)David2022-08-28
|
* Add c-sharp textobjects (#3494)Gustavo Bogarín2022-08-27
| | | | Co-authored-by: Gustavo Bogarín <gbogarin@outlook.com> Co-authored-by: Gustavo Bogarín <gbogarin@posibillian.tech>
* Pascal support (#3542)ath32022-08-25
|
* Fixed Doom acario theme (#3533) (#3539)Luna2022-08-25
| | | | | | Changed the `namespace` style to fix the issue (#3533). I also made the theme look a little closer to how it looks in Emacs, I did however opt to still have it slightly different as I found it easier to read with my port than on the original in Emacs. I also sorted most keys (mainly from line 8 to 28) for the theme to be in alphabetical order, so it's easier to have a quick glance where they are.
* Update tree-sitter-ruby (#3527)Michael Davis2022-08-25
|
* AWK Regex injection (#3535)ath32022-08-24
|
* AWK support (#3528)ath32022-08-24
|
* Julia queries: fix non-consecutive docstring highlightChristoph Horn2022-08-24
|
* Julia queries: prevent constructors to be highlighted as functionsChristoph Horn2022-08-24
| | | | Also improves the captures of the remaining identifiers.
* Julia queries: limit markdown highlighting to docstringsChristoph Horn2022-08-24
|
* Julia queries: major refactoring of `highlights.scm`, add regex injections, ↵Christoph Horn2022-08-24
| | | | locals
* Julia queries: update grammar, fix breaking changesChristoph Horn2022-08-24
|
* feat(lang): Add esdl grammar (#3526)Jaden2022-08-24
|
* Improve dart indent (#3419)seb-bl2022-08-24
|
* add syntax highlights for xit (#3521)ChemicalXandco2022-08-24
|
* Fix markdown indented code block rendering (#3503)Clay2022-08-24
|
* fix: Reset document mode when losing focusBlaž Hrastnik2022-08-23
| | | | Fixes #3090
* Editor: remove duplication for view focus/swap commandsBlaž Hrastnik2022-08-23
|
* Reduce health tick widthIvan Tham2022-08-23
| | | | Use the same tick as book to reduce margin of whitespace errors.
* build(deps): bump once_cell from 1.13.0 to 1.13.1 (#3511)dependabot[bot]2022-08-23
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump serde_json from 1.0.83 to 1.0.85 (#3510)dependabot[bot]2022-08-23
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump serde from 1.0.142 to 1.0.144 (#3512)dependabot[bot]2022-08-23
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump anyhow from 1.0.61 to 1.0.62 (#3509)dependabot[bot]2022-08-23
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update to crossterm-0.25 (#3390)Charlie Groves2022-08-22
|
* One more windows fix...Blaž Hrastnik2022-08-22
|
* Fix compilation on windowsBlaž Hrastnik2022-08-22
|
* Make external terminal provider configurableBlaž Hrastnik2022-08-22
| | | | Fixes #1699
* Update tree-sitter-elm to latest commit (#3497)ScribblyBirb2022-08-21
|
* Switch to `tabpad` configuration option (#3458)A-Walrus2022-08-21
| | | | Virtual whitespace tabs are created from the `tab` character padded with `tabpad` up to the tab width.
* Update tree-sitter-org (#3489)Michael Davis2022-08-21
| | | | | | | | The update fixes a bug that caused the external scanner to hang during error recovery. Looking at the diff, there are no structural changes in this update. There are a few new fields and it looks like some edge-case fixes but nothing that breaks compatibility with the current queries.
* add penumbra+ theme (#3398)Vince Mutolo2022-08-21
| | | Co-authored-by: Vince Mutolo <vince@mutolo.org>
* feat: add taskwarrior to languages so `task N edit` is nice (#3468)Alexander Brevig2022-08-20
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* removes deprecated stdio flag for omnisharp (#3480)jdrst2022-08-19
|
* style: fixes `unused_parens` warnings on nightly builds (#3471)Saber Haj Rabiee2022-08-18
|
* add diff colors in PaperColor Light (#3470)Soc Virnyl S. Estela2022-08-18
|
* theme: add papercolor light (#3426)Soc Virnyl S. Estela2022-08-17
| | | | | | | * theme: add papercolor light * fix typo * add markup highlighting
* Adjust `m` textobject description and minor code clarification (#3343)Daniel S Poulin2022-08-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update description of `m` textobject to its actual functionality Sometime recently the functionality of `m` was changed to match the nearest pair to the cursor, rather than the former functionality of matching the pair only if the cursor was on one of the brace characters directly. * Rename surround methods to reflect that they work on pairs The current naming suggests that they may work generally on any textobject, whereas their implementation really focuses on pairs. * Change description of m textobject to match actual functionality The current implementation of `m` no longer merely looks at the pair character the cursor is on, but actually will search for the pair (defined in helix-core/src/surround.rs) that encloses the cursor, and not the entire selection. * Accept suggested wording change Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * Prefix pair surround for consistency Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Update tree-sitter-swift (#3461)Michael Davis2022-08-17
|
* Fix failing test with unicode-lines feature (#3455)A-Walrus2022-08-17
|