Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Detect filetype from shebang line (#1001) | ath3 | 2021-11-08 |
| | |||
* | Add treesitter textobjects (#728) | Gokul Soumya | 2021-10-23 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add treesitter textobject queries Only for Go, Python and Rust for now. * Add tree-sitter textobjects Only has functions and class objects as of now. * Fix tests * Add docs for tree-sitter textobjects * Add guide for creating new textobject queries * Add parameter textobject Only parameter.inside is implemented now, parameter.around will probably require custom predicates akin to nvim' `make-range` since we want to select a trailing comma too (a comma will be an anonymous node and matching against them doesn't work similar to named nodes) * Simplify TextObject cell init | ||
* | Fix broken test | Blaž Hrastnik | 2021-09-16 |
| | |||
* | fix: tree-sitter-scopes would infinitely loop | Blaž Hrastnik | 2021-09-06 |
| | |||
* | Appease clippy | Blaž Hrastnik | 2021-08-13 |
| | |||
* | Add :tree-sitter-scopes, useful when developing indents.toml | Blaž Hrastnik | 2021-08-13 |
| | |||
* | Move indent-style code into `helix_core::indent`. | Nathan Vegdahl | 2021-07-30 |
| | |||
* | Fix append newline indent | Ivan Tham | 2021-07-26 |
| | | | | Fix #492 | ||
* | Made toggle_comments language dependent (#463) | Cor Peters | 2021-07-18 |
| | | | | | | | | | | | | | * Made toggle_comments language dependent * Fixed Test Cases * Added clippy suggestion * Small Fixes * Clippy Suggestion Co-authored-by: Cor <prive@corpeters.nl> | ||
* | Added option to provide a custom config file to the lsp. (#460) | Cor Peters | 2021-07-18 |
| | | | | | | | | | | | | | | | | | * Added option to provide a custom config file to the lsp. * Simplified lsp loading routine with anyhow * Moved config to language.toml * Fixed test case * Cargo fmt * Revert now-useless changes * Renamed custom_config to config Co-authored-by: Cor <prive@corpeters.nl> | ||
* | Dynamically load grammar libraries at runtime | Blaž Hrastnik | 2021-07-14 |
| | |||
* | Fix all remaining warnings in helix-core except for two. | Nathan Vegdahl | 2021-07-02 |
| | | | | | I'm not sure how to address them, because they look like they might be bugs, and code is involved. Will poke the relevant people. | ||
* | Remove #[allow(unused)] from helix-core, and fix unused imports. | Nathan Vegdahl | 2021-07-02 |
| | | | | Still a bunch more warnings to fix in core, but it's a start. | ||
* | Add ability to change theme on editor | wojciechkepka | 2021-06-19 |
| | |||
* | Fix broken test | Blaž Hrastnik | 2021-06-12 |
| | |||
* | Cleanup find_first_non_whitespace_char funcs | Wojciech Kępka | 2021-06-08 |
| | |||
* | Try to detect language when document file path is set | Blaž Hrastnik | 2021-06-04 |
| | | | | Fixes #91 | ||
* | Hacky way to specify indent scopes per language via toml configs. | Blaž Hrastnik | 2021-05-14 |
| | | | | | | | | | Can't do it via a scm query nicely because it returns an iterator over all the matches, whereas we want to traverse the tree ourselves. Can't extract the pattern data from a parsed query either. Oh well, toml files for now. | ||
* | Fix indent test, we need to use the in-tree runtime dir. | Blaž Hrastnik | 2021-05-10 |
| | |||
* | Indent array and tuple lists too. | Blaž Hrastnik | 2021-05-09 |
| | |||
* | And some more indent patterns. | Blaž Hrastnik | 2021-04-14 |
| | |||
* | Rust: add a few more scopes to indent. | Blaž Hrastnik | 2021-04-14 |
| | |||
* | Simplify calculate_indentation. | Blaž Hrastnik | 2021-04-14 |
| | |||
* | Remove the path specifier. | Blaž Hrastnik | 2021-04-09 |
| | |||
* | Fix issues with "enum A {|}" <Enter> indent calculation. | Blaž Hrastnik | 2021-04-07 |
| | |||
* | minor: Remove a few unwraps. | Blaž Hrastnik | 2021-03-26 |
| | |||
* | Fix broken test. | Blaž Hrastnik | 2021-03-25 |
| | |||
* | Add tab_width and indent_unit config. | Blaž Hrastnik | 2021-03-22 |
| | |||
* | Remove State from a few more signatures. | Blaž Hrastnik | 2021-03-18 |
| | |||
* | minor: Simplify some code. | Blaž Hrastnik | 2021-02-24 |
| | |||
* | indent: use_list indentation, fix indentation bug on open_below | Blaž Hrastnik | 2021-02-19 |
| | | | | | | use std::{ time::Duration // <- pressing `o` here would use }'s indent instead of prev line } | ||
* | treewide: &RopeSlice -> RopeSlice. It's Copy so no reason to pass by ref | Blaž Hrastnik | 2021-02-18 |
| | |||
* | nix: include rust-src so rust-analyzer works correctly. | Blaž Hrastnik | 2021-01-19 |
| | |||
* | indent: Fix edge cases, refactor test. | Blaž Hrastnik | 2021-01-10 |
| | |||
* | Address clippy lints. | Blaž Hrastnik | 2021-01-08 |
| | |||
* | indent: refactor logic to be more correct. | Blaž Hrastnik | 2021-01-08 |
| | | | | | Thanks to atom-sane-indentation, nvim-treesitter and tree-sitter-indent.el for inspiration. | ||
* | Refactor: Document type as a wrapper around barebones State. | Blaž Hrastnik | 2020-12-03 |
| | |||
* | wip | Blaž Hrastnik | 2020-10-15 |
| | |||
* | Auto-indent on enter based on tree-sitter scopes. | Blaž Hrastnik | 2020-10-14 |
| | |||
* | Share tab width definitions. | Blaž Hrastnik | 2020-10-14 |
| | |||
* | Indent draft, linewise paste | Blaž Hrastnik | 2020-10-13 |