aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/syntax.rs
Commit message (Collapse)AuthorAge
* Merge branch 'master' into great_line_ending_and_cursor_range_cleanupNathan Vegdahl2021-07-17
|\
| * Dynamically load grammar libraries at runtimeBlaž Hrastnik2021-07-14
| |
| * Rewritten Rust `highlights.scm` (#425)Kirawi2021-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_cleanupNathan Vegdahl2021-07-06
|\|
| * Add missing importPerry Thompson2021-07-02
| |
* | Allow last line in file to lack a line break character.Nathan Vegdahl2021-07-02
|/
* Fixed last `unused` warning.Nathan Vegdahl2021-07-02
|
* Fix one of the two remaining warnings.Nathan Vegdahl2021-07-02
| | | | One of them was a lot more obvious than I thought.
* Fix all remaining warnings in helix-core except for two.Nathan Vegdahl2021-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 Vegdahl2021-07-02
| | | | Still a bunch more warnings to fix in core, but it's a start.
* Don't crash if diagnostics span past EOFBlaž Hrastnik2021-06-28
|
* Extract the merge "operator" into helix-coreBlaž Hrastnik2021-06-27
|
* Release 0.3.0Blaž Hrastnik2021-06-27
|
* Merge branch 'master' of github.com:helix-editor/helix into ↵Nathan Vegdahl2021-06-20
|\ | | | | | | | | | | | | line_ending_detection Rebasing was making me manually fix conflicts on every commit, so merging instead.
| * Only reconfiure highlights when setting themewojciechkepka2021-06-19
| |
| * Add ability to change theme on editorwojciechkepka2021-06-19
| |
* | Work on moving code over to LineEnding instead of assuming '\n'.Nathan Vegdahl2021-06-20
|/ | | | Also some general cleanup and some minor fixes along the way.
* Add more ways to detect runtime directoryWojciech Kępka2021-06-12
|
* Only auto-format for certain languagesBlaž Hrastnik2021-06-12
| | | | | Fixes #53 Fixes #207
* Derive debug without featureIvan Tham2021-06-10
| | | | Note that this also removed those `finish_non_exhaustive()`.
* Implement Debug for data structure as a featurenotoria2021-06-10
|
* Reuse a cursor from the pool if available (fixes #202)Blaž Hrastnik2021-06-10
|
* Return an error if we request an embedded file that does not exist.Brian Dawn2021-06-06
| | | | | This makes the load_runtime_file function behave like the non-embedded one.
* Add a smoke test around loading runtime files.Brian Dawn2021-06-06
| | | | This test makes sure we can read some amount of data from the runtime folder.
* Simplify the load_runtime_file code.Brian Dawn2021-06-06
| | | | Reduce the number of feature switches for the embed_runtime feature.
* Simplify creating pathbufs.Brian Dawn2021-06-06
| | | Co-authored-by: Ivan Tham <pickfire@riseup.net>
* Apply suggestions from code reviewBrian Dawn2021-06-06
| | | | Co-authored-by: Ivan Tham <pickfire@riseup.net>
* Provide a feature flag to be able to embed the runtime folder.Brian Dawn2021-06-06
| | | | | | These changes provide a new feature flag "embed_runtime" that when enabled and built in release mode will embed the runtime folder into the resulting binary.
* Try to detect language when document file path is setBlaž Hrastnik2021-06-04
| | | | Fixes #91
* Update deps, introduce the new tree-sitter lifetimesBlaž Hrastnik2021-05-27
|
* Hacky way to specify indent scopes per language via toml configs.Blaž Hrastnik2021-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 runtime dir lookup.Blaž Hrastnik2021-05-10
|
* Determine runtime dir based on executable location or env override.Blaž Hrastnik2021-05-09
|
* clippy lintBlaž Hrastnik2021-05-06
|
* Remove the path specifier.Blaž Hrastnik2021-04-09
|
* Import tree sitter queries.Blaž Hrastnik2021-04-08
|
* hack: make queries load relative to source dir for now.Blaž Hrastnik2021-04-07
| | | | We want to provide a runtime dir later on.
* Fully drop State references.Blaž Hrastnik2021-03-31
|
* clippy lintBlaž Hrastnik2021-03-27
|
* minor: Remove a few unwraps.Blaž Hrastnik2021-03-26
|
* Fix broken test.Blaž Hrastnik2021-03-25
|
* Add the machinery to load syntax config from TOML.Blaž Hrastnik2021-03-25
| | | | It's embedded into the binary at build time for now, but it's progress.
* clippy lintBlaž Hrastnik2021-03-24
|
* Add tab_width and indent_unit config.Blaž Hrastnik2021-03-22
|
* Merge some imports.Blaž Hrastnik2021-03-22
|
* Move things out of state.rs.Blaž Hrastnik2021-03-18
|
* Make Transaction::change only rely on the rope.Blaž Hrastnik2021-03-18
|
* Clippy lintBlaž Hrastnik2021-03-16
|
* syntax: highlight_iter always returns Ok()Blaž Hrastnik2021-03-16
|
* syntax: Highlight using ropes, avoiding dumping whole doc to string.Blaž Hrastnik2021-03-16
|