Simplify scanner logic for dedent vs newline
Simplify scanner logic for dedent vs newline

tree-sitter/tree-sitter-python,tree-sitter/tree-sitter-python,tree-sitter/tree-sitter-python,tree-sitter/tree-sitter-python,tree-sitter/tree-sitter-python