Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Use same name used in config files for langs in docs | Gokul Soumya | 2021-12-08 |
| | |||
* | Auto generate docs for language support | Gokul Soumya | 2021-12-08 |
| | |||
* | Support env flags in shebang (#1224) | ath3 | 2021-12-03 |
| | |||
* | Use default `languages.toml` if user's is invalid (#994) | Omnikar | 2021-11-09 |
| | |||
* | Make shebangs optional, they don't make sense outside of scripts | Blaž Hrastnik | 2021-11-09 |
| | |||
* | Refactor shebang detection to reuse the loaded buffer | Blaž Hrastnik | 2021-11-08 |
| | |||
* | Detect filetype from shebang line (#1001) | ath3 | 2021-11-08 |
| | |||
* | Remove three transmutes from helix-core syntax.rs (#923) | Gygaxis Vainhardt | 2021-10-28 |
| | |||
* | log syntax highlighting init errors (#895) | Kirawi | 2021-10-23 |
| | |||
* | 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 | ||
* | clean up combined-injections comment (#880) | Michael Davis | 2021-10-19 |
| | |||
* | Allow `language.config` (in languages.toml) to be passed in as a toml object ↵ | Midnight Exigent | 2021-10-08 |
| | | | | | | | | | | | | | (#807) * allow language.config (in languages.toml) to be passed in as a toml object * Change config field for languages from json string to toml object * remove indents on languages.toml config * fix: remove patch version from serde_json import in helix-core * Use same tree-sitter-zig as upstream/master | ||
* | ... | Blaž Hrastnik | 2021-09-16 |
| | |||
* | syntax: Properly handle injection-regex for language injections | Blaž Hrastnik | 2021-09-16 |
| | |||
* | fix: Need to reset set_byte_range in case cursor_ref is reused. | Blaž Hrastnik | 2021-09-13 |
| | |||
* | syntax: Add go & rust locals, improve tree-sitter error message | Blaž Hrastnik | 2021-09-06 |
| | |||
* | Update tree-sitter to 0.20 | Blaž Hrastnik | 2021-09-06 |
| | | | | | 0.20 includes querying improvements, we no longer have to convert fragments to strings but can return an iterator of chunks instead. | ||
* | Reduce State use a bit further | Blaž Hrastnik | 2021-08-26 |
| | | | | This is a legacy type that should be fully removed. | ||
* | fix: tree sitter rendering glitches with multiple selection edits | Blaž Hrastnik | 2021-08-13 |
| | |||
* | Remove embed_runtime feature | Blaž Hrastnik | 2021-07-30 |
| | | | | It's no longer practical to maintain. Closes #451 | ||
* | Merge branch 'master' into great_line_ending_and_cursor_range_cleanup | Nathan Vegdahl | 2021-07-24 |
|\ | |||
| * | The item `fmt` was imported redundantly | fossdd | 2021-07-22 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed warning: ``` warning: the item `fmt` is imported redundantly --> helix-core/src/syntax.rs:98:9 | 16 | fmt, | --- the item `fmt` is already imported here ... 98 | use std::fmt; | ^^^^^^^^ | ``` | ||
* | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanup | Nathan Vegdahl | 2021-07-19 |
|\| | |||
| * | 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> | ||
* | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanup | Nathan Vegdahl | 2021-07-17 |
|\| | |||
| * | Dynamically load grammar libraries at runtime | Blaž Hrastnik | 2021-07-14 |
| | | |||
| * | Rewritten Rust `highlights.scm` (#425) | Kirawi | 2021-07-08 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rewrote Rust highlights.scm * wip * wip * wip * wip * fixed type highlighting * wip * rewrite again * moved operators * missing newline * missing newline * update book * fix constructor highlighting * fix constructor highlighting * fix const highlighting * better constructor highlighting * remove dup, bug was my locals.scm file * fixed docs * merge * fixed for highlighting * add yield * remove yield * added yield back * fixed yield highlighting * unecessary | ||
* | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanup | Nathan Vegdahl | 2021-07-06 |
|\| | |||
| * | Add missing import | Perry Thompson | 2021-07-02 |
| | | |||
* | | Allow last line in file to lack a line break character. | Nathan Vegdahl | 2021-07-02 |
|/ | |||
* | Fixed last `unused` warning. | Nathan Vegdahl | 2021-07-02 |
| | |||
* | Fix one of the two remaining warnings. | Nathan Vegdahl | 2021-07-02 |
| | | | | One of them was a lot more obvious than I thought. | ||
* | 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. | ||
* | Don't crash if diagnostics span past EOF | Blaž Hrastnik | 2021-06-28 |
| | |||
* | Extract the merge "operator" into helix-core | Blaž Hrastnik | 2021-06-27 |
| | |||
* | Release 0.3.0 | Blaž Hrastnik | 2021-06-27 |
| | |||
* | Merge branch 'master' of github.com:helix-editor/helix into ↵ | Nathan Vegdahl | 2021-06-20 |
|\ | | | | | | | | | | | | | line_ending_detection Rebasing was making me manually fix conflicts on every commit, so merging instead. | ||
| * | Only reconfiure highlights when setting theme | wojciechkepka | 2021-06-19 |
| | | |||
| * | Add ability to change theme on editor | wojciechkepka | 2021-06-19 |
| | | |||
* | | Work on moving code over to LineEnding instead of assuming '\n'. | Nathan Vegdahl | 2021-06-20 |
|/ | | | | Also some general cleanup and some minor fixes along the way. | ||
* | Add more ways to detect runtime directory | Wojciech Kępka | 2021-06-12 |
| | |||
* | Only auto-format for certain languages | Blaž Hrastnik | 2021-06-12 |
| | | | | | Fixes #53 Fixes #207 | ||
* | Derive debug without feature | Ivan Tham | 2021-06-10 |
| | | | | Note that this also removed those `finish_non_exhaustive()`. | ||
* | Implement Debug for data structure as a feature | notoria | 2021-06-10 |
| | |||
* | Reuse a cursor from the pool if available (fixes #202) | Blaž Hrastnik | 2021-06-10 |
| | |||
* | Return an error if we request an embedded file that does not exist. | Brian Dawn | 2021-06-06 |
| | | | | | This makes the load_runtime_file function behave like the non-embedded one. | ||
* | Add a smoke test around loading runtime files. | Brian Dawn | 2021-06-06 |
| | | | | This test makes sure we can read some amount of data from the runtime folder. | ||
* | Simplify the load_runtime_file code. | Brian Dawn | 2021-06-06 |
| | | | | Reduce the number of feature switches for the embed_runtime feature. |