aboutsummaryrefslogtreecommitdiff
path: root/book/src
Commit message (Collapse)AuthorAge
* Gleam: add support for built-in language server (#3139)Clay2022-07-22
| | | | | * Add gleam lsp support * Docgen gleam lsp support
* add statusline element to display file line endings (#3113)Alexis Kalabura2022-07-21
| | | | | | | | | * add statusline element to display file line endings * run cargo fmt --all * change the word *ending* from plural to singular * support for the unicode-lines feature flag
* Add lsp signature help (#1755)Gokul Soumya2022-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add lsp signature help * Do not move signature help popup on multiple triggers * Highlight current parameter in signature help * Auto close signature help * Position signature help above to not block completion * Update signature help on backspace/insert mode delete * Add lsp.auto-signature-help config option * Add serde default annotation for LspConfig * Show LSP inactive message only if signature help is invoked manually * Do not assume valid signature help response from LSP Malformed LSP responses are common, and these should not crash the editor. * Check signature help capability before sending request * Reuse Open enum for PositionBias in popup * Close signature popup and exit insert mode on escape * Add config to control signature help docs display * Use new Margin api in signature help * Invoke signature help on changing to insert mode
* Make gutters padding optional (#2996)Ivan Tham2022-07-18
| | | | If all gutters are removed, there are still an extra one padding, would be nice to remove that to save some space.
* support toggling pickers' preview panel (#3021)Bob2022-07-18
| | | | | * support toggling pickers' preview panel * add doc for toggling preview
* Customizable/configurable status line (#2434)Mr. E2022-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat(statusline): add the file type (language id) to the status line * refactor(statusline): move the statusline implementation into an own struct * refactor(statusline): split the statusline implementation into different functions * refactor(statusline): Append elements using a consistent API This is a preparation for the configurability which is about to be implemented. * refactor(statusline): implement render_diagnostics() This avoid cluttering the render() function and will simplify configurability. * feat(statusline): make the status line configurable * refactor(statusline): make clippy happy * refactor(statusline): avoid intermediate StatusLineObject Use a more functional approach to obtain render functions and write to the buffers, and avoid an intermediate StatusLineElement object. * fix(statusline): avoid rendering the left elements twice * refactor(statusline): make clippy happy again * refactor(statusline): rename `buffer` into `parts` * refactor(statusline): ensure the match is exhaustive * fix(statusline): avoid an overflow when calculating the maximal center width * chore(statusline): Describe the statusline configurability in the book * chore(statusline): Correct and add documentation * refactor(statusline): refactor some code following the code review Avoid very small helper functions for the diagnositcs and inline them instead. Rename the config field `status_line` to `statusline` to remain consistent with `bufferline`. * chore(statusline): adjust documentation following the config field refactoring * revert(statusline): revert regression introduced by c0a1870 * chore(statusline): slight adjustment in the configuration documentation * feat(statusline): integrate changes from #2676 after rebasing * refactor(statusline): remove the StatusLine struct Because none of the functions need `Self` and all of them are in an own file, there is no explicit need for the struct. * fix(statusline): restore the configurability of color modes The configuration was ignored after reintegrating the changes of #2676 in 8d28f95. * fix(statusline): remove the spinner padding * refactor(statusline): remove unnecessary format!()
* Add SCSS language support (#3074)Joe2022-07-17
|
* fix wrong value for cursor shape config in the docs (#3081)Alex Kim2022-07-15
|
* feat(term): uniformize word-wise movement and deletion (#2500)Benoît Cortier2022-07-15
| | | | | | | | | | | | Ctrl-based shortcuts are common in numerous applications. This change: - Adds Ctrl+{Left/Right/Backspace/Delete} for word-wise movement/deletion in prompt, picker, … - Removes Alt-Left and Alt-Right in prompt, picker, … - Adds Alt-Delete in insert mode for forward word deletion In some terminals, Alt-Backspace might not work because it is ambigous. See: https://github.com/helix-editor/helix/pull/2193#issuecomment-1105042501 Hence, Alt alternative is not removed.
* Add textobjects.scm to GLSL (#3051)Mateusz S. Szczygieł2022-07-12
|
* Added ungrammar language support (#3048)Philipp Mildenberger2022-07-12
|
* add fortran language (#3025)Austen LeBeau2022-07-10
|
* nix flake: make the binary cache "just work" (#2999)Timothy DeHerrera2022-07-09
|
* book: add wiki links to the title page and install page (#3017)Amit Beka2022-07-09
| | | Co-authored-by: amitbeka <--->
* Introduce storage highlighting for typescript/javascript (#2961)Jake Langford2022-07-06
|
* Fix some typos (#2978)A-Walrus2022-07-06
|
* add language `idris` (#2971)Matthew Toohey2022-07-05
|
* Add runtime `xcopy` command on powershell in docs (#2958)川田 恵氏 (Kawada Keishi a.k.a megumish)2022-07-04
|
* languages: added elvish (#2948)rsteube2022-07-03
|
* fix CIBlaž Hrastnik2022-07-01
|
* Add mode specific styles (#2676)Mathspy2022-06-30
| | | | | | | | | | | | | * Add mode specific styles In similar vein to neovim's lualine and similar statusline packages this allows helix users to style their mode based on which mode it is thus making each mode more visually distinct at a glance * Add an example based on rosepine * Add editor.colors-mode config * Document statusline mode styles
* Add workspace and document diagnostics picker (#2013)Falco Hirschenberger2022-06-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add workspace and document diagnostics picker fixes #1891 * Fix some of @archseer's annotations * Add From<&Spans> impl for String * More descriptive parameter names. * Adding From<Cow<str>> impls for Span and Spans * Add new keymap entries to docs * Avoid some clones * Fix api change * Update helix-term/src/application.rs Co-authored-by: Bjorn Ove Hay Andersen <bjrnove@gmail.com> * Fix a clippy hint * Sort diagnostics first by URL and then by severity. * Sort diagnostics first by URL and then by severity. * Ignore missing lsp severity entries * Add truncated filepath * Typo * Strip cwd from paths and use url-path without schema * Make tests a doctest * Better variable names Co-authored-by: Falco Hirschenberger <falco.hirschenberger@itwm.fraunhofer.de> Co-authored-by: Bjorn Ove Hay Andersen <bjrnove@gmail.com>
* add docs for cursorline scopes (#2904)Michael Davis2022-06-28
|
* support Bazel languages (#2903)Michael Davis2022-06-28
|
* Implement cursorline (#2170)Tobias Menzi2022-06-27
| | | | | * Implement cursorline * Binary search possible lines
* Right align scrollbar with track in completion popup (#2754)Gokul Soumya2022-06-27
| | | | | - Align the scollbar to the right edge of the popup rather than at a margin of one. - Add a scrollbar track and a new scope `ui.menu.scroll`.
* book: fix the description of dot repeat (#2878)Amit Beka2022-06-25
| | | Co-authored-by: amitbeka <--->
* feat: add wgsl_analyzer as wgsl language server (#2872)Hekno252022-06-24
|
* Make indent guides configurableGokul Soumya2022-06-21
|
* Add theme scopes for indent guidesGokul Soumya2022-06-21
|
* text-objects: add test capture & elixir queriesConnor Lay (Clay)2022-06-21
|
* rewrite language configuration docs (#2838)Michael Davis2022-06-20
| | | | | | | This change moves the configuration tables from the Adding Languages guide into the overall Languages section. It also adds more detailed documentation on the `language-server` configuration key and fixes a typo in the "mylang" example (the scope was `scope.mylang` instead of `source.mylang`).
* 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>
* Add migrate from Vim wiki link (#2781)Tennix2022-06-15
|
* Introduce storage_class highlight scope (#2731)Anton Romanov2022-06-14
|
* add prisma tree-sitter and lsp support (#2703)Ivan2022-06-12
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* add textobject queries for gleamMichael Davis2022-06-07
|
* add textobject queries for elixirMichael Davis2022-06-07
|
* add textobject queries for erlangMichael Davis2022-06-07
|
* support for openscad (#2680)farwyler2022-06-06
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* simplify some keymap key names (#2677)Henry2022-06-06
|
* 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
* Update keymap docs for window swapping (#2659)nosa2022-06-03
|
* add tree-sitter-jsdoc (#2650)Michael Davis2022-06-03
|
* add tree-sitter-edoc (#2640)Michael Davis2022-06-02
| | | | | | | * add tree-sitter-edoc * fix escape character capture in markdown queries * add field negation operator "!" to tsq highlights
* Improve Readability (#2639)Ryan Russell2022-06-01
|
* Add Vlang tree-sitter in the languages.toml (#2526)pancake2022-05-28
| | | | Co-authored-by: pancake <pancake@nopcode.org> Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* mention the requirement of C++ compiler for building grammar in doc (#2592)nitish-172022-05-28
|