Commit Graph

56 Commits (fbb98300dfa4cf12c8aacb1242baab3644e54951)

Author SHA1 Message Date
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