Commit Graph

9 Commits (7c99ff58fdc4c5217f86e59d2b3ec0df10f79aaa)

Author SHA1 Message Date
Blaž Hrastnik 7c99ff58fd nix: include rust-src so rust-analyzer works correctly. 2021-01-19 16:16:15 +09:00
Blaž Hrastnik 22e1692adc indent: Fix edge cases, refactor test. 2021-01-10 23:46:18 +09:00
Blaž Hrastnik 777a80917d Address clippy lints. 2021-01-08 16:37:36 +09:00
Blaž Hrastnik 7d41550a23 indent: refactor logic to be more correct.
Thanks to atom-sane-indentation, nvim-treesitter and tree-sitter-indent.el
for inspiration.
2021-01-08 16:15:12 +09:00
Blaž Hrastnik b39849dde1 Refactor: Document type as a wrapper around barebones State. 2020-12-03 13:10:35 +09:00
Blaž Hrastnik 16828d322a wip 2020-10-15 23:31:37 +09:00
Blaž Hrastnik 6e658aae1c Auto-indent on enter based on tree-sitter scopes. 2020-10-14 18:07:42 +09:00
Blaž Hrastnik d64f4beede Share tab width definitions. 2020-10-14 13:35:54 +09:00
Blaž Hrastnik 00e661f600 Indent draft, linewise paste 2020-10-13 23:13:56 +09:00