You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could use indentation queries to allow us to know what indentation to use when inserting new lines. For example, if we know how to indent inside vs after something, we could distinguish between "move state air after funk bat" vs "move state air to end of funk bat", with the latter keeping indentation of body but the former dedenting. Important in Python. We could also do our own "pour line", etc.
See nvim-tree-sitter indentation queries (eg rust), and the helix (see PR, Python example, and docs).
We can determine how large an indentation should be by reading editor.options.tabSize
The text was updated successfully, but these errors were encountered:
We could use indentation queries to allow us to know what indentation to use when inserting new lines. For example, if we know how to indent inside vs after something, we could distinguish between "move state air after funk bat" vs "move state air to end of funk bat", with the latter keeping indentation of body but the former dedenting. Important in Python. We could also do our own "pour line", etc.
See nvim-tree-sitter indentation queries (eg rust), and the helix (see PR, Python example, and docs).
We can determine how large an indentation should be by reading
editor.options.tabSize
The text was updated successfully, but these errors were encountered: