aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/syntax.rs
Commit message (Collapse)AuthorAge
* 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
|
* Configure language servers via LanguageConfiguration.Blaž Hrastnik2021-03-14
|
* Cleanup: use doc.selection() instead of doc.state.selection().Blaž Hrastnik2021-03-14
|
* syntax: Hide the TSParser internally, borrowing when needed.Blaž Hrastnik2021-03-13
|
* syntax: Reuse parser instances. highlight_iter() no longer needs &mut.Blaž Hrastnik2021-03-12
|
* clippy lintsBlaž Hrastnik2021-03-01
|
* minor: Simplify some code.Blaž Hrastnik2021-02-24
|
* treewide: &RopeSlice -> RopeSlice. It's Copy so no reason to pass by refBlaž Hrastnik2021-02-18
|
* transaction: Use builder methods to generate compact changesets.Blaž Hrastnik2021-02-16
|
* wipBlaž Hrastnik2020-12-03
|
* Refactor: Document type as a wrapper around barebones State.Blaž Hrastnik2020-12-03
|