summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* add tree-sitter-eexMichael Davis2022-04-13
| | | | | | EEx is an templating language for Elixir. Since the incremental parsing refactor we can used combined injections which allows us to add EEx support.
* remove error highlighting for tree-sitter-elixirMichael Davis2022-04-13
| | | | | | | | | This will become more important with the HEEx grammar being added. Error highlighting with the Elixir grammar is a bit jumpy because in some scenarios, a bit of missing syntax can force tree-sitter to give up on error recovery and mark the entire tree as an error. This ends up looking bad when editing. We don't typically highlight error nodes so I'm inclined to leave it out of the highlights here.
* update tree-sitter-elixirMichael Davis2022-04-13
| | | | | | | | | | | | | | The new revision handles a case that I come across often: a stab clause (i.e. '->') with an empty right hand side: Enum.map(xs, fn x -> end) The old version would parse the "end" token as an error. This is technically valid syntax but more importantly it comes up very often when editing, and the old revision would flicker between the keyword highlight and the warning highlight.
* Document values for editor.cursor-shape (#2094)scgtrp2022-04-13
| | | These are hinted at in the example config at the top (except `none`), but really should be listed explicitly near the option itself for clarity.
* Make textobject select last paragraph (#1992)Ivan Tham2022-04-13
| | | | | | | | | | | | | | | | * Make textobject select last paragraph Last paragraph shoud be selected if the cursor was placed on the whitespace paragraph part and `map` is done, otherwise it would do nothing useful, but now we select backwards for the last paragraph which behaves similarly to kakoune, making `map` useful for the last paragraph with whitespace. Example usecase is to copy and paste last ledger cli paragraph quickly by `mapyp` to duplicate last entry. * Fix typo in core textobject Co-authored-by: Michael Davis <mcarsondavis@gmail.com> Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Fix panic when using set-language on a scratch (#1996)Roland Kovacs2022-04-13
| | | Skip launching a language server if a document doesn't have a valid URL.
* Add true or false checkbox in health output table (#1947)Nirmal Patel2022-04-12
| | | | | | | | | hx --health output table's second and third columns were not showing symbols like ✔ or ✘ to indicate whether LSP or DAP binaries were found. This change adds these symbols to improve accessibility. Fixes #1894 Signed-off-by: Nirmal Patel <npate012@gmail.com>
* Add shell completion (#2022)Benedikt Müller2022-04-12
| | | | | * Add shell completion * Add shell completion to release
* Add `:write!` to create nonexistent subdirectories (#1839)Omnikar2022-04-12
| | | | | | | * Make `:write` create nonexistent subdirectories Prompting as to whether this should take place remains a TODO. * Move subdirectory creation to new `w!` command
* Apply ui.gutter style to empty gutters (#2032)unrelentingtech2022-04-12
| | | | The unstyled column on the left from the diagnostics_or_breakpoints gutter looks sad if you want to add a background to all gutters. Let's fix this.
* build(deps): bump lsp-types from 0.92.1 to 0.93.0 (#2084)dependabot[bot]2022-04-12
| | | | | | | | | | | | | | | | | Bumps [lsp-types](https://github.com/gluon-lang/lsp-types) from 0.92.1 to 0.93.0. - [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.92.1...v0.93.0) --- updated-dependencies: - dependency-name: lsp-types 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>
* build(deps): bump encoding_rs from 0.8.30 to 0.8.31 (#2083)dependabot[bot]2022-04-12
| | | | | | | | | | | | | | | | Bumps [encoding_rs](https://github.com/hsivonen/encoding_rs) from 0.8.30 to 0.8.31. - [Release notes](https://github.com/hsivonen/encoding_rs/releases) - [Commits](https://github.com/hsivonen/encoding_rs/compare/v0.8.30...v0.8.31) --- updated-dependencies: - dependency-name: encoding_rs 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 cachix/install-nix-action from 16 to 17 (#2081)dependabot[bot]2022-04-11
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump actions/download-artifact from 2 to 3 (#2082)dependabot[bot]2022-04-11
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Improve Dracula Theme selections (#2075) (#2077)Aral Balkan2022-04-11
|
* Rewrite Language Support docs (#2065)Michael Davis2022-04-10
|
* Add command for picking files from CWD (#1600)gavynriebau2022-04-10
| | | | | | | The `file_picker_at_current_directory` command opens the file picker at the current working directory (CWD). This can be useful when paired with the built-in `:cd` command which changes the CWD. It has been mapped to `space F` by default.
* add tree-sitter-embedded-template (erb & ejs) (#2055)Michael Davis2022-04-09
| | | | | | | | | | After the incremental parsing rewrite for injections (which was released in 22.03 https://helix-editor.com/news/release-22-03-highlights/#incremental-injection-parsing-rewrite), we can now do combined injections which lets us pull in some templating grammars. The most notable of those is embedded-template - a pretty straightforward grammar that covers ERB and EJS. The grammar and highlights queries are shared between the two but they have different injections.
* Improve documentation on Language Server installation (#2037)Michael Davis2022-04-09
|
* Add default language server for Vue (#2043)Kurenshe Nurdaulet2022-04-09
|
* docs: Quote TOML keys containing dots (#2040)Evan Relf2022-04-08
|
* Add dracula at night theme (#2008)Sam Sartor2022-04-08
|
* Add language server command for OCaml (#2035)unrelentingtech2022-04-08
|
* Add swift language (#2033)Aaron Housh2022-04-08
|
* PHP roots and languageserver improvements (#2031)Karl Grasegger2022-04-08
| | | Co-authored-by: Karl Grasegger <karl.grasegger@gebruederheitz.de>
* Remove usage of format ident feature from tests (#2028)Michael Davis2022-04-08
|
* Add default language server for CSS (#2025)David2022-04-08
|
* Add default language server for JSON (#2024)David2022-04-08
|
* Add default language server for HTML (#2018)David2022-04-08
|
* Fix typo (pallete -> palette) (#2020)Gaeulbyul2022-04-08
|
* [dark_plus] update tag and ui.menu.selected colors (#2014)Kirawi2022-04-08
|
* Compute style only once per source highlight event (#1966)Gokul Soumya2022-04-08
| | | | | During a single HighlightEvent::Source, the highlight spans do not change and we can merge them into a single style at the beginning of the event and use it instead of re-computing it for every grapheme
* add languages `r` and `rmarkdown` (#1998)Matthew Toohey2022-04-08
| | | | | | | | | | | * add languages `r` and `rmarkdown` * r: fix highlights * rmarkdown: add eof in queries * rmarkdown: update lang-support.md * r: fix highlight query precedence
* Add paragraph textobject to match infobox (#1969)tomKPZ2022-04-07
|
* remove hardcoded '/' from grammar source path (#1986)Michael Davis2022-04-06
|
* fix keymap doc typo for 'delete' in insert-mode (#1990)Michael Davis2022-04-06
| | | | closes #1980 see also #1180
* [dark_plus] update markup colors (#1989)Kirawi2022-04-06
|
* add boo_berry theme (#1962)bootradev2022-04-05
|
* add language `ron` (#1925)VuiMuich2022-04-05
|
* Fix toggle_comments command on multiple selections (#1882)Danilo Spinella2022-04-05
|
* Add runtime language configuration (#1794) (#1866)Roland Kovacs2022-04-05
| | | | | | | | | | | | | | | | | | | | | * Add runtime language configuration (#1794) * Add set-language typable command to change the language of current buffer. * Add completer for available language options. * Update set-language to refresh language server as well * Add language id based config lookup on `syntax::Loader`. * Add `Document::set_language3` to set programming language based on language id. * Update `Editor::refresh_language_server` to try language detection only if language is not already set. * Remove language detection from Editor::refresh_language_server * Move document language detection to where the scratch buffer is saved. * Rename Document::set_language3 to Document::set_language_by_language_id. * Remove unnecessary clone in completers::language
* Fix next paragraph logic over muliple blank lines (#1951)Ivan Tham2022-04-05
| | | Fix #1928
* Add paragraph to last motion (#1956)Ivan Tham2022-04-05
| | | Fix #1954
* Bump crossterm to 0.32.2 (#1955)Ivan Tham2022-04-05
| | | | Deduplicates mio dependency which results no crate duplication now and 7 lesser crate for cargo to build.
* clear terminal after switching to alternate screenRose Hudson2022-04-04
| | | | | | when using helix over mosh, the screen doesn't get cleared and characters get left all over the place until they are overwritten. with this change, the screen gets properly cleared as soon as helix starts
* [dark_plus] remove `ui.text` background (#1950)Kirawi2022-04-03
|
* Add typed commands buffer-next and buffer-previous (#1940)Dr. David A. Kunz2022-04-03
|
* Add missing # back to test outputIvan Tham2022-04-02
|
* Rename _para to _paragraphIvan Tham2022-04-02
|
* Refactor test print to be more readableGokul Soumya2022-04-02
|