Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Try to detect language when document file path is set | Blaž Hrastnik | 2021-06-04 |
| | | | | Fixes #91 | ||
* | Hacky way to specify indent scopes per language via toml configs. | Blaž Hrastnik | 2021-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ž Hrastnik | 2021-05-10 |
| | |||
* | Indent array and tuple lists too. | Blaž Hrastnik | 2021-05-09 |
| | |||
* | And some more indent patterns. | Blaž Hrastnik | 2021-04-14 |
| | |||
* | Rust: add a few more scopes to indent. | Blaž Hrastnik | 2021-04-14 |
| | |||
* | Simplify calculate_indentation. | Blaž Hrastnik | 2021-04-14 |
| | |||
* | Remove the path specifier. | Blaž Hrastnik | 2021-04-09 |
| | |||
* | Fix issues with "enum A {|}" <Enter> indent calculation. | Blaž Hrastnik | 2021-04-07 |
| | |||
* | minor: Remove a few unwraps. | Blaž Hrastnik | 2021-03-26 |
| | |||
* | Fix broken test. | Blaž Hrastnik | 2021-03-25 |
| | |||
* | Add tab_width and indent_unit config. | Blaž Hrastnik | 2021-03-22 |
| | |||
* | Remove State from a few more signatures. | Blaž Hrastnik | 2021-03-18 |
| | |||
* | minor: Simplify some code. | Blaž Hrastnik | 2021-02-24 |
| | |||
* | indent: use_list indentation, fix indentation bug on open_below | Blaž Hrastnik | 2021-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 ref | Blaž Hrastnik | 2021-02-18 |
| | |||
* | nix: include rust-src so rust-analyzer works correctly. | Blaž Hrastnik | 2021-01-19 |
| | |||
* | indent: Fix edge cases, refactor test. | Blaž Hrastnik | 2021-01-10 |
| | |||
* | Address clippy lints. | Blaž Hrastnik | 2021-01-08 |
| | |||
* | indent: refactor logic to be more correct. | Blaž Hrastnik | 2021-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ž Hrastnik | 2020-12-03 |
| | |||
* | wip | Blaž Hrastnik | 2020-10-15 |
| | |||
* | Auto-indent on enter based on tree-sitter scopes. | Blaž Hrastnik | 2020-10-14 |
| | |||
* | Share tab width definitions. | Blaž Hrastnik | 2020-10-14 |
| | |||
* | Indent draft, linewise paste | Blaž Hrastnik | 2020-10-13 |