-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract `ancestors()` iterator Extract indentation config into own struct Use `usize` everywhere to avoid conversions Propagate indentation config Simplify indent edit Respect indentation config in text edit Move `indent()` method out of `Backend` Add utils for testing text edits Don't depend on document's Dashmap ref Add indentation tests Take outermost node on the line before analysis Fix anchor matcher Check for OOB line Fix selection of node at point Update indentation config from formatting options Log format-on-type method Fix indentation of trailing whitespace Decline to indent if version does not match Fix indentation of top-level expressions Ignore formatting options if tab size differs Apply suggestions from code review Co-authored-by: Davis Vaughan <davis@rstudio.com> Remove custom formatting request
- Loading branch information
Showing
9 changed files
with
464 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.