Commit Graph
6 Commits
Author SHA1 Message Date
bf8eee26f8 Add Buffer::enclosing_bracket_ranges
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2021-05-28 19:35:04 +02:00
Antonio Scandurra 07aeb32ef4 Punt on auto-indentation for now 2021-05-28 10:17:10 +02:00
Max Brunsfeld 79878f20cc WIP - new approach to autoindent
- Indent one row at a time.
- Consider only the innermost match.
2021-05-27 15:05:19 -07:00
Antonio Scandurra 9b69cea75a Replace mod_item with declaration_list for Rust's autoindent 2021-05-26 16:00:01 +02:00
Antonio Scandurra d38d944fef Add indent and indent_nodes configs in the language config.toml 2021-05-26 15:45:58 +02:00
Antonio Scandurra 04c7989720 Extract a LanguageConfig and load it from language-dir/config.toml 2021-05-26 10:27:14 +02:00