aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/indent.rs
Commit message (Collapse)AuthorAge
...
* Add ability to change theme on editorwojciechkepka2021-06-19
|
* Fix broken testBlaž Hrastnik2021-06-12
|
* Cleanup find_first_non_whitespace_char funcsWojciech Kępka2021-06-08
|
* Try to detect language when document file path is setBlaž Hrastnik2021-06-04
| | | | Fixes #91
* 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 indent test, we need to use the in-tree runtime dir.Blaž Hrastnik2021-05-10
|
* Indent array and tuple lists too.Blaž Hrastnik2021-05-09
|
* And some more indent patterns.Blaž Hrastnik2021-04-14
|
* Rust: add a few more scopes to indent.Blaž Hrastnik2021-04-14
|
* Simplify calculate_indentation.Blaž Hrastnik2021-04-14
|
* Remove the path specifier.Blaž Hrastnik2021-04-09
|
* Fix issues with "enum A {|}" <Enter> indent calculation.Blaž Hrastnik2021-04-07
|
* minor: Remove a few unwraps.Blaž Hrastnik2021-03-26
|
* Fix broken test.Blaž Hrastnik2021-03-25
|
* Add tab_width and indent_unit config.Blaž Hrastnik2021-03-22
|
* Remove State from a few more signatures.Blaž Hrastnik2021-03-18
|
* minor: Simplify some code.Blaž Hrastnik2021-02-24
|
* indent: use_list indentation, fix indentation bug on open_belowBlaž Hrastnik2021-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 refBlaž Hrastnik2021-02-18
|
* nix: include rust-src so rust-analyzer works correctly.Blaž Hrastnik2021-01-19
|
* indent: Fix edge cases, refactor test.Blaž Hrastnik2021-01-10
|
* Address clippy lints.Blaž Hrastnik2021-01-08
|
* indent: refactor logic to be more correct.Blaž Hrastnik2021-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ž Hrastnik2020-12-03
|
* wipBlaž Hrastnik2020-10-15
|
* Auto-indent on enter based on tree-sitter scopes.Blaž Hrastnik2020-10-14
|
* Share tab width definitions.Blaž Hrastnik2020-10-14
|
* Indent draft, linewise pasteBlaž Hrastnik2020-10-13