pypi djlint 1.53.0

43 minutes ago

Feature

  • The language server picks the profile from more of the language names editors use: twig (Neovim, Helix, Emacs) gets nunjucks, htmlangular (Neovim) gets angular, and the names VS Code extensions give HubL, Spacebars, Mustache, Liquid and Go templates get the profile of their language.

Bug fixes

  • Each item of an exclude or extend_exclude list in the config file is one regex, whatever it holds, so a comma in it needs no \, and an unclosed { no longer joins the next item to it.
  • In a comma-separated exclude or extend_exclude, a {, [ or \ inside a # comment no longer hides the entries after the comment.
  • An empty exclude or extend_exclude, or an entry in one that holds only a comment, no longer excludes every file inside a folder. Each regex is checked on its own, so a trailing backslash in one is reported instead of swallowing the next.

Don't miss a new djlint release

NewReleases is sending notifications on new releases.