aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/indent.rs
Commit message (Collapse)AuthorAge
* 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