forPath static method
Returns the default syntax to use for a file loaded from path
.
Implementation
static Syntax forPath(String path) => switch (p.extension(path)) {
'.sass' => Syntax.sass,
'.css' => Syntax.css,
_ => Syntax.scss
};