aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Fix Component implementations for Picker (#7382)Michael Davis2023-06-19
|
* Merge pull request #7264 from the-mikedavis/merge-picker-and-filepickerPascal Kuthe2023-06-19
|\ | | | | Merge FilePicker into Picker
| * Completely remove old Picker and rename FilePicker to PickerGokul Soumya2023-06-18
| |
| * Make file preview callback optionalMichael Davis2023-06-18
| | | | | | | | | | | | | | When Picker and FilePicker are merged, not all Pickers will be able to show a preview. Co-authored-by: Gokul Soumya <gokulps15@gmail.com>
| * Move FilePicker struct def closer to impl blockGokul Soumya2023-06-18
| |
| * Render the preview in FilePickerGokul Soumya2023-06-18
| |
| * Move Picker::render into FilePicker::renderGokul Soumya2023-06-18
| |
| * Move Component methods except render() to FilePickerGokul Soumya2023-06-18
| |
| * Move handle_event methods from Picker to FilePickerGokul Soumya2023-06-18
| |
| * Move navigation methods from Picker to FilePickerGokul Soumya2023-06-18
| |
| * Move scoring functions from Picker to FilePickerGokul Soumya2023-06-18
| |
| * Copy struct fields and new() from Picker to FilePickerGokul Soumya2023-06-18
| |
| * Move FilePicker::render from Component impl to normal implGokul Soumya2023-06-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merges the code for the Picker and FilePicker into a single Picker that can show a file preview if a preview callback is provided. This change was mainly made to facilitate refactoring out a simple skeleton of a picker that does not do any filtering to be reused in a normal Picker and a DynamicPicker (see #5714; in particular [mikes-comment] and [gokuls-comment]). The crux of the issue is that a picker maintains a list of predefined options (eg. list of files in the directory) and (re-)filters them every time the picker prompt changes, while a dynamic picker (eg. interactive global search, #4687) recalculates the full list of options on every prompt change. Using a filtering picker to drive a dynamic picker hence does duplicate work of filtering thousands of matches for no reason. It could also cause problems like interfering with the regex pattern in the global search. I tried to directly extract a PickerBase to be reused in Picker and FilePicker and DynamicPicker, but the problem is that DynamicPicker is actually a DynamicFilePicker (i.e. it can preview file contents) which means we would need PickerBase, Picker, FilePicker, DynamicPicker and DynamicFilePicker and then another way of sharing the previewing code between a FilePicker and a DynamicFilePicker. By merging Picker and FilePicker into Picker, we only need PickerBase, Picker and DynamicPicker. [gokuls-comment]: https://github.com/helix-editor/helix/issues/5714#issuecomment-1410949578 [mikes-comment]: https://github.com/helix-editor/helix/issues/5714#issuecomment-1407451963
* | Allow ANSI colors in themes (#5119)tomleb2023-06-19
|/
* Use default line ending in open command (#7357)Alex2023-06-17
|
* Add forth-lsp and update tree-sitter-forth (#7334)Alexander Brevig2023-06-16
| | | | | * feat: add forth lsp and update tree sitter * fix: update highlights
* Add yank_joined command (#7195)spectre2562023-06-16
| | | | | Resolves issue #6888 by adding a command to join all selections and yank them to the specified register. The typed command takes an argument as the separator to use when joining the selections.
* Add config for default line ending (#5621)Alex2023-06-16
|
* Webc language support (#7290)Ivan Svoboda2023-06-13
| | | | | * feat: add webc language support * feat: add to lang-support book webc
* Explain how to enter Select mode in keymap (#7333)Thomas Aarholt2023-06-13
| | | | | | | * Explain how to enter Select mode Also added an equivalent explanation that Insert mode is the default, with how to return to it. * Fix glarious typo
* Preview scratch buffers in jumplist picker (#7331)A-Walrus2023-06-13
|
* Fix next/prev tree-sitter inconsistency (#7332)A-Walrus2023-06-13
| | | | | | | | | * Fix next/prev tree-sitter inconsistency Before there where different results going to next or previous due to sorting not dealing with multiple captures that start/end at the same pos. I chose to prefer longer matches. * Revert unnecessary change
* Add merionette theme (#7186)Jorge Santiago2023-06-13
|
* Add rl and rla aliasses for reload and reload-all commands (#7158)Zisulin Morbrot2023-06-13
|
* Add reverse_selection_contents (#7329)Robert2023-06-13
|
* Clarify the runtime directory location in installation docs (#6624)kazimir malevich2023-06-13
| | | | | | | | | | | | | | | | | | | * runtime config made clearer * following Unix FHS * we probably want to install Helix as a regular user without sudo access * suggestions adopted from @the-mikedavis * attempted to synthesise comments given * capitalisation of second header * required changes hopefully made * we should have a match now * Linux windows dir match
* build(deps): bump libc from 0.2.145 to 0.2.146 (#7327)dependabot[bot]2023-06-13
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump gix from 0.44.1 to 0.46.0 (#7325)dependabot[bot]2023-06-13
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump tempfile from 3.5.0 to 3.6.0 (#7326)dependabot[bot]2023-06-13
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump serde from 1.0.163 to 1.0.164 (#7328)dependabot[bot]2023-06-13
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump log from 0.4.18 to 0.4.19 (#7324)dependabot[bot]2023-06-13
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix underflow when repeating a completion that has a negative shift position ↵Philipp Mildenberger2023-06-12
| | | | (#7322)
* Check for 'git' before fetching/building grammars (#7320)Michael Davis2023-06-12
| | | | | | Previously the error message for this potential failure-case was confusing: "no such file or directory". `hx -g fetch`, `hx -g build` and the helix-term builder should bail early if the git binary is not available.
* Use Vue language server based on Volar (#7312)Selwyn2023-06-11
|
* fix: add file argument in help text (#7307)0xHiro / ヒロ2023-06-10
|
* Add Fortran comment injections (#7305)lefp2023-06-10
|
* Support core mode for delve debugger (#7300)Vitalii Solodilov2023-06-10
|
* add config option for instant completion entry preview (defaulting to true).Luca Schlecker2023-06-09
| | | | Signed-off-by: Luca Schlecker <luca.schlecker@hotmail.com>
* Add register statusline element (#7222)spectre2562023-06-08
|
* Auto indent on `insert_at_line_start` (#5837)Alex2023-06-08
|
* Fix book configuration for edit template (#7278)Tshepang Mbambo2023-06-08
|
* Fix style overwriting in table rows with multiple cells (#7281)Michael Davis2023-06-08
|
* misc doc fixes/improvements (#7282)Tshepang Mbambo2023-06-08
|
* Bail if no language servers support workspace symbols (#7286)Michael Davis2023-06-08
|
* Fix C++ queries and update tree-sitter-cpp (#7285)Dimitri Sabadie2023-06-07
|
* theme: added gruvbox dark soft variant (#7139)broke2023-06-07
|
* Add support for language t32 (#7140)Christoph Sax2023-06-07
| | | Co-authored-by: Christoph Sax <christoph.sax@mailbox.org>
* add move_prev_long_word_end and extend_prev_long_word_end (#6905)vwkd2023-06-07
|
* Break long sentence in book configuration footnote (#7279)Tshepang Mbambo2023-06-07
|
* Propagate the count and register to command palette commandsMichael Davis2023-06-07
| | | | | | Previously a count or register selection would be lost while opening the command palette. This change allows using a register selection or count in any command chosen from the command palette.