aboutsummaryrefslogtreecommitdiff
path: root/book/src
Commit message (Collapse)AuthorAge
* Add rainbow tree-sitter highlightsMichael Davis2024-05-01
| | | | | ref: https://github.com/helix-editor/helix/issues/695 ref: https://github.com/helix-editor/helix/pull/2857
* Add koka language server and update grammarMatthew Toohey2024-05-01
| | | | ref: https://github.com/helix-editor/helix/pull/10119
* Add support for Unicode inputLinden Krouse2024-05-01
| | | | | ref: https://github.com/helix-editor/helix/issues/1438 ref: https://github.com/helix-editor/helix/pull/2852
* Make initial editing mode configurablePhilipp Emanuel Weidmann2024-05-01
| | | | | | ref: https://github.com/helix-editor/helix/pull/3366 Co-authored-by: JJ <git@toki.la>
* Add unbind-default-keys config optionLinden Krouse2024-05-01
| | | | | ref: https://github.com/helix-editor/helix/issues/2720 ref: https://github.com/helix-editor/helix/pull/2733
* Add file explorer and tree helperwongjiahau2024-05-01
| | | | | | | | | | | ref: https://github.com/helix-editor/helix/issues/200 ref: https://github.com/helix-editor/helix/pull/2377 ref: https://github.com/helix-editor/helix/pull/5566 ref: https://github.com/helix-editor/helix/pull/5768 Co-authored-by: cossonleo <cossonleo@foxmail.com> Co-authored-by: JJ <git@toki.la> Co-authored-by: Quan Tong <quantonganh@gmail.com>
* doc: small formatting corrections (#9986)Yomain2024-03-26
|
* Add narrow no-break space support (#9604)Quentin2024-03-25
|
* feat: Add `Ohm` language support (#9991)Novus Nota2024-03-24
| | | | | | | | | | | | | | | * feat: Add `Ohm` language support Hope this commit makes it into release :) * Update runtime/queries/ohm/highlights.scm Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * chore: final newline --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Add an Amp-like jump commandPascal Kuthe2024-03-23
| | | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Fix repeat last motion for goto next/prev diagnostic (#9966)Jaakko Paju2024-03-23
|
* Add support for ember.js templates (#9902)Arthur Deierlein2024-03-19
| | | | | | | | | | | | | | | | | * feat: add support for ember .hbs (glimmer) templates * adjust highlights to helix * highlight this correctly in block statements * correctly highlight attributes * correctly highlight hash_pair * add newline to highlights.scm * refactor: use #any-of and #eq instead of #match * chore: add newline to languages.toml
* feat: add suport for helm charts (#9900)Arthur Deierlein2024-03-19
|
* Initial Ada language support (after stale) (#9908)Damian Zaręba2024-03-19
| | | | | | | | | | | | | * Adding initial support for ada language, based off #7790 PR from tomekw * More translation to helix-specific tree-sitter scm labels, add ada gpr switch to ada LSP * Generate ada in lang-support.md using cargo xtask docgen * Update tree-sitter definitions according to comments * Remove .gpr glob from languages.toml * Fix unit in languages.toml for ada, update locals.scm to helix needs
* Enhance support for PKGBUILDS (#9909)Arthur Deierlein2024-03-19
| | | | | * enhance support for PKGBUILDS * run cargo xtask docgen
* Add yaml LSP for docker compose (#9916)Jaakko Paju2024-03-18
| | | | | * Add yaml LSP for docker compose * Change docs
* add koka language support (#8727)Matthew Toohey2024-03-18
| | | Co-authored-by: Pascal Kuthe <pascal.kuthe@semimod.de>
* Add initial support for SuperCollider (#9329)Phil2024-03-18
|
* Add textobject queries for vala (#8541)Joey Hain2024-03-17
|
* Add blade support (#9513)Leonardo Eugênio2024-03-17
| | | | | | | * Add php-only language config and queries php-only is required enabling php injections like in blade templates * Add blade templates support
* Fix URL in doc chapter about Textobject queries (#5773)Jonas De Vuyst2024-03-17
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* add 'file-absolute-path' to statusline (#4535)Dan Cardamore2024-03-17
| | | | | | | | | | | * feat: add 'file-abs-path' to statusline (#4434) * cleanup implementation * rename to be non-abbreviated names --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Add Support for JSONC (#9906)George "Riye" Hollister2024-03-17
| | | | | | | | | | | | * Added `jsonc` language with support for comments The `vscode-json-language-server` accepts `jsonc` as a language id. Allowing the use of comments within JSON files. * fix: Update `injdection-rejex` to be unique * fix: use includes to remove redundant queries * ci: Generate language-support docs
* Add support for hyprland config (#9899)Arthur Deierlein2024-03-17
| | | | | | | * feat: add hyprland config language * adjust indents to helix * adjust highlights to helix
* Add a yank diagnostic command (#9640)Kirawi2024-03-15
| | | | | | | | | * yank diagnostic command * improve success message * move to a typed command * docgen
* add linker script language (#9835)Matthew Toohey2024-03-09
|
* Add PowerShell highlighting (#9827)Chris2024-03-07
|
* Support LSP diagnostic tags (#9780)Michael Davis2024-03-02
|
* feat: Add markdown-oxide language server (#9758)Felix Zeller2024-03-01
|
* Document embracing smart-tab navigation. (#9762)Dawid Ciężarkiewicz2024-03-01
| | | Re #4443
* toggling of block comments (#4718)Gabriel Dinner-David2024-02-27
|
* add fidl support (#9713)巢鹏2024-02-27
|
* Add Groovy grammar (#9350)Volodymyr Chernetskyi2024-02-19
| | | | | | | | | | | | | | | | | | | | | * Add Groovy grammar * Rewrite Neovim captures into Helix for Groovy * Simplify Groovy injections Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * Remove Neovim's spell from Groovy highlights Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * Apply suggestions to languages.toml * Escape backslash in groovy highlights.scm --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Add textobject queries for HCL (#9658)Jaakko Paju2024-02-18
| | | | | * Add textobject queries for HCL * Add to lang-support.md
* Add textobject queries for Nix (#9659)Jaakko Paju2024-02-18
| | | | | * Add textobject queries for Nix * Add to lang-support.md
* Add docker-compose language (#9661)Malpha2024-02-18
| | | | | | | | | | | | | | | * languages: add docker-compose language it uses docker-compose-langserver as lsp And yaml for syntax highlighting, indents and injections * languages: add luajit as a shebang of lua This helps to provide syntax highlighting and other lua goodies when writing luajit * book(update): run cargo xtask docgen * since #8006 full filenames uses glob
* Scroll cursor and page together (neovim-like scrolling) (#8015)AlexanderDickie2024-02-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * neovim like scroll function * clear line annotations outside of move_vertically/_visual * add nvim scroll function to commands * assign nvim-scroll to C-d and C-u (half page scrolls) * dont remove backspace and space mapping * move non-softwrap logic to seperate function, call this in nvim-scroll fn * Revert "move non-softwrap logic to seperate function, call this in nvim-scroll fn" This reverts commit e4905729c338a2260e6981f1d8fac022897b4191. * Revert "clear line annotations outside of move_vertically/_visual" This reverts commit 1df3fefe55afc840d1ab5094b2116d1127fc363f. * add TODO for when inline diagnostics gets merged * move nvim-scroll logic into scroll(), dont respect scrolloff * run cargo fmt * run cargo clippy * update documenation for Ctrl-d and Ctrl-u remap
* docs: Document that what the `diff` gutter symbol does (#9587)Mark Stosberg2024-02-12
| | | | | | | | Before there was no document about what the `diff` gutter is displaying or what the colors mean. These docs clarify it's a `git` diff and makes it easier to cross-reference the theme if you aren't sure what the colors mean or want to change them.
* Add Hoon (#9190)iko2024-02-12
| | | | | | | | | | | | | | | * Added Hoon * Added highlights.scm * Updated docs * Update runtime/queries/hoon/highlights.scm Co-authored-by: Michael Davis <mcarsondavis@gmail.com> --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Add required-root-patterns for situational lsp activation (#8696)ontley2024-02-12
| | | | | | | | | | | | | | | | | | | * Added required-root-patterns for situational lsp activation using globbing * Replaced filter_map with flatten * updated book to include required-root-patterns option * fixed wrong function name for path * Added globset to helix-core. Moved globset building to config parsing. * Normalize implements AsRef * cargo fmt * Revert "cargo fmt" This reverts commit ca8ce123e8d77d2ae8ed84d5273a9b554101b0db.
* languages: add CEL, SpiceDB schema language (#9296)Jimmy Zelinskie2024-02-12
| | | | | | | | | | | | | | | | | * languages: add CEL language and grammar * languages: add spicedb schema language * chore: docgen * runtime/queries: refine spicedb & cel highlights Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * languages: update spicedb --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Add glob file type support (#8006)Galen Abell2024-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Replace FileType::Suffix with FileType::Glob Suffix is rather limited and cannot be used to match files which have semantic meaning based on location + file type (for example, Github Action workflow files). This patch adds support for a Glob FileType to replace Suffix, which encompasses the existing behavior & adds additional file matching functionality. Globs are standard Unix-style path globs, which are matched against the absolute path of the file. If the configured glob for a language is a relative glob (that is, it isn't an absolute path or already starts with a glob pattern), a glob pattern will be prepended to allow matching relative paths from any directory. The order of file type matching is also updated to first match on globs and then on extension. This is necessary as most cases where glob-matching is useful will have already been matched by an extension if glob matching is done last. * Convert file-types suffixes to globs * Use globs for filename matching Trying to match the file-type raw strings against both filename and extension leads to files with the same name as the extension having the incorrect syntax. * Match dockerfiles with suffixes It's common practice to add a suffix to dockerfiles based on their context, e.g. `Dockerfile.dev`, `Dockerfile.prod`, etc. * Make env filetype matching more generic Match on `.env` or any `.env.*` files. * Update docs * Use GlobSet to match all file type globs at once * Update todo.txt glob patterns * Consolidate language Configuration and Loader creation This is a refactor that improves the error handling for creating the `helix_core::syntax::Loader` from the default and user language configuration. * Fix integration tests * Add additional starlark file-type glob --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* expand upon the arch linux install instructions (#9574)Android7895152024-02-09
| | | Signed-off-by: Android789515 <derflug@mailfence.com>
* feat(languages): pkl (#9515)Matouš Dzivjak2024-02-09
| | | | | | | | * feat(languages): pkl Add [pkl](https://github.com/apple/pkl) language. Official documentation: https://pkl-lang.org/ * remove branch indent
* slint: Update treesitter parser and queries (#9551)Tobias Hunger2024-02-07
| | | | | * slint: Update treesitter parser and queries * slint: Port over suggestions from nvim review
* Update Unison tree-sitter grammar for type changes and add indent queries ↵zetashift2024-02-04
| | | | | | | | | (#9505) * Update Unison tree-sitter grammar for type changes * Add indent queries for Unison * Improve Unison indent queries
* feat: Add `Tact` language support (#9512)Novus Nota2024-02-04
| | | Re-submitting
* 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.