Skip to content

v0.0.3

Compare
Choose a tag to compare
@opa-oz opa-oz released this 16 Jun 12:14
· 20 commits to main since this release

Full Changelog: v0.0.2...v0.0.3

Mixins suggestions

Look through included files and suggest defined mixins!

mixins

Keywords suggestions

case .. when .. default

Pug-LSP simply follows Pug's implementation

case-suggestions

Note Case Fall Through

You can use fall through, just as you would in a JavaScript switch statement.

The difference, however, is a fall through in JavaScript happens whenever a break statement is not explicitly included;
in Pug, it only happens when a block is completely missing.

If you would like to not output anything in a specific case, add an explicit unbuffered break snippet: - break
break-suggestion

if .. else

if-suggestion