aboutsummaryrefslogtreecommitdiff
path: root/book
Commit message (Collapse)AuthorAge
* Add text object queries for dart (#9411)melted-brownie2024-01-23
| | | | | | | | | | | | | | * Add text object queries for dart * Update runtime/queries/dart/textobjects.scm Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * Clean up internal capture name --------- Co-authored-by: Sébastien Blondiau <sebastien.blondiau@iot-d.com> Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* refactor completion and signature help using hooksPascal Kuthe2024-01-23
|
* bash, make, css: highlight and indent queries improvement (#9393)woojiq2024-01-22
| | | | | | | | | | | | | | * highlights(bash): rework keywords section * Use more specified scope when possible for keywords like @keyword.repeat. * Add more keywords like "local" or "unsetenv". Limitation: * Bash doesn't allow you to have a local variable outside of a function, so maybe we need to have better queries to not highlight the local in this case. * If we name a function with a keyword (such as unset or local), it will use the highlight scope "keyword" instead of "function". * indents(css, make): add basic queries * Despite the fact that queries look simple, they improve indentation in some edge cases that helix couldn't handle correctly by default.
* Fix export instructions in installation doc (#9306)JR2024-01-15
|
* Bump tree-sitter to latest master (#9317)Michael Davis2024-01-15
| | | | * query capture names now return `&str`s rather than `String`s * the `#any-of?` predicate is now supported
* Info on how to skip grammar build when building from source (#8698)NitinKM2024-01-08
| | | | | | | | | | | | | * info: no grammar compile Added instructions on how to compile without compiling grammars * Update book/src/install.md Co-authored-by: Michael Davis <mcarsondavis@gmail.com> --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Update goto_file docs (#8563) (#9001)jw0132024-01-08
| | | | | | Make the pluralization of files and selections consistent to emphasize the 1-to-1 relation between files and selections. The prior wording with plural "files" and singular "selection" can mislead users into thinking the command can open multiple files from a single selection.
* Add textobject queries for protobuf grammar. (#9184)Ryan Roden-Corrent2024-01-08
| | | | | | | | | | | Given `message Foo {string s = 1;}` - `mat` selects `message Foo {string s = 1}` - `mit` selects `{string s = 1;}` Given `service SearchService { rpc Search(Req) returns (Resp); } - `mit` or `mat` selects `Req` or `Resp` - `mif` or `maf` selects `rpc Search(Req) returns (Resp);` - `mit` selects { rpc Search(Req) returns (Resp); }` - `mat` selects `service SearchService { rpc Search(Req) returns (Resp); }`
* Add textobject queries for Scala (#9191)Jaakko Paju2024-01-08
|
* Add HOCON language support (#9203)Jaakko Paju2024-01-08
| | | | | | | | | | | | | | | * Add HOCON language support * Remove error query Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * Change include query * Fix query error --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Add config to mark diagnostic sources as persistentPascal Kuthe2023-12-27
|
* add smali language support (#9089)Evan Richter2023-12-19
|
* Support drawing popup frame (#4313)ath32023-12-19
| | | Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Add haskell-language-server as lsp for cabal files (#9111)0rphee2023-12-19
|
* book: Describe usage of `.ignore` and helix-specific ignore files in ↵Novus Nota2023-12-17
| | | | `[editor.file-picker]` section (#9102)
* Add support for Agda (#8285)JJ2023-12-16
| | | | | | | | | | | | | | | | | | | | | | | * agda language support (wip) * improve highlights * disable agda-language-server * minor addendum to documentation * cargo xtask docgen * oh i can just do this neat * minor comment cleanup * upstream updated * imports: missed a spot --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* fix `:indent-style` crash (#9087)TornaxO72023-12-15
| | | | | | | * removing unreachable statement in `:indent-style` * update checks when setting indent line and update docs * `cargo xtask docgen`
* Simplify implementation of `add_indent_level`.Daniel Ebert2023-12-15
| | | | | Increase hybrid indent heuristic attempt limit to 4. Clarify the fallback logic in indent heuristic docs.
* Add documentation for new indent computationDaniel Ebert2023-12-15
|
* Add initial support for janet-lang (#9081)Phil2023-12-15
| | | | | * Add initial support for janet-lang * Use default roots for janet-lang
* Update keymap.md: improve grammar (#9069)Valerii Petryniak2023-12-13
| | | | | | | | | | | * Update keymap.md: improve grammar * Update keymap.md Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com> --------- Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>
* use canonical name (#8960)Tshepang Mbambo2023-12-01
| | | I do not find anywhere where the option omits the 's'
* add log tree-sitter (#8916)Tudyx2023-11-29
| | | | | * add log tree-sitter * better highlight queries
* Fix precedence of ui.virtual.whitespace (#8879)chtenb2023-11-25
| | | | | | | | | * Revert "Revert "Fix precedence of ui.virtual.whitespace (#8750)"" This reverts commit 811d62d3b3699efb7b7ceb362f537979e5911871. * Fix ui.text overwriting the syntax highlighting Adjust ui.text description
* DBML Language support (#8860)ghashy2023-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * DBML language support * DBML language support, highlights.scm added * DBML support * Update runtime/queries/dbml/highlights.scm Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * Update runtime/queries/dbml/highlights.scm Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * Update runtime/queries/dbml/highlights.scm Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * remove unnecessary block highlight * remove unnecessary line * remove index_block query --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* add LSP for nushell (#8878)Ethan Brierley2023-11-22
|
* Document the bufferline scopes (#8880)chtenb2023-11-22
| | | | | | | | | | | * Document the bufferline scopes * Update book/src/themes.md Co-authored-by: Michael Davis <mcarsondavis@gmail.com> --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* GN language support (#6969)Dan Field2023-11-18
| | | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Book: fix formatting of some default values (#8837)WuerfelDev2023-11-17
|
* docs: add docs for soft-wrap in languages.toml (#8836)Luca Saccarola2023-11-17
|
* Change Fedora installation to the new official Helix package (#8762)Seth Maurice-Brant2023-11-17
| | | Remove COPR install in favour of official Helix package
* Add indent queries for scheme (and reuse them for common-lisp & racket). (#8720)Triton1712023-11-08
|
* Add command to move files with LSP support (#8584)Yomain2023-11-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added rename command * Added an error if the new path already exists * Fixed wrong command name being used * fixed clippy suggestions * removed didRenameFiles call, fixed early return due to path Err * added ':rnm' alias to ':rename' * code cleanup * formatting * removed debug line * cargo fmt * Improved new buffer error message Co-authored-by: Pascal Kuthe <pascal.kuthe@semimod.de> * Removed unnecessary path normalizing Co-authored-by: Pascal Kuthe <pascal.kuthe@semimod.de> * Update helix-term/src/commands/typed.rs Co-authored-by: Pascal Kuthe <pascal.kuthe@semimod.de> * Update helix-term/src/commands/typed.rs Co-authored-by: Pascal Kuthe <pascal.kuthe@semimod.de> * Update helix-term/src/commands/typed.rs Co-authored-by: Pascal Kuthe <pascal.kuthe@semimod.de> * Update helix-term/src/commands/typed.rs Co-authored-by: Pascal Kuthe <pascal.kuthe@semimod.de> * feat: change `rename` command to `move` * feat: add multi lsp support when moving files * feat: allow lsp calls with a custom timeout * feat: sending lsp file_changed event once file has moved --------- Co-authored-by: ontley <theontley@gmail.com> Co-authored-by: ontley <67148677+ontley@users.noreply.github.com> Co-authored-by: Pascal Kuthe <pascal.kuthe@semimod.de>
* swap yank command registers (#8708)Skyler Hawthorne2023-11-04
| | | | #8703 swapped the `+` and `*` registers, but did not swap them in the corresponding yank commands.
* replace kdl tree-sitter to fix highlighting (#8652)cgahr2023-11-03
| | | | | | | | | | | | | | | | | | | * replace kdl tree-sitter * kdl: adopt highlights for new tree-sitter * kdl: add indent queries * kdl: add textobjects * kdl: improve syntax highlighting * kdl: update lang-support * kdl: make indents more concise --------- Co-authored-by: Constantin Gahr <constantin.gahr@ipp.mpg.de>
* add highlight scope for type parameters (#8660)Joey Hain2023-11-03
| | | | | * rust: add highlight scope for type parameters * handle optional type parameters
* Add MacPorts as installation option for MacOS (#8663)Jeffrey Gelens2023-10-30
| | | | | * Added MacPorts as installation option for MacOS * Added macports to ToC
* Update idle-timeout in docs (#8661)John Careaga2023-10-30
|
* add golangci-lint-langserver (#8656)Angus Dippenaar2023-10-29
| | | | | * languages add golangci-lint-langserver * update docs
* Add LPF tree sitter (#8536)Frans Skarman2023-10-26
| | | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Add typst language and lsp (#7474)Alexander Brevig2023-10-26
| | | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Add optional runtime fallback directory (#8610)Skyler Hawthorne2023-10-25
|
* languages: add templ (#8540)rsteube2023-10-21
|
* add lsp for graphql (#8492)Kasper Juul Hermansen2023-10-09
| | | | | | graphql-lsp has quite the strange name upstream, the project is technically called graphql-language-service, but the binary shipped is called graphql-lsp hence the strange naming scheme Signed-off-by: kjuulh <contact@kjuulh.io>
* Add ansible-language-server for yaml (#7973)Laurent Wandrebeck2023-10-08
| | | | | | | * Update languages.toml Add ansible support to yaml. * cargo xtask docgen
* add support for json5 (#8473)DS/Charlie2023-10-06
| | | | | * add json5 language * docgen
* update with new mdbook index.hbs (#8445)Gabriel Dinner-David2023-10-03
|
* book: Fix broken link (#8441)Mathis Brossier2023-10-02
|
* Allow specifying a different style for diff indicator in vcs gutter. (#8343)Alexis Mousset2023-09-20
| | | | | This allows using a background in diff style (for nice patch file coloring) while keeping the gutter indicator nice (and using appropriate colors).
* Use Maskhjarnas tree-sitter-purescript (#8306)NomisIV2023-09-17
|