Releases: alsolovyev/Nunjucks
Nunjucks v2.2.1
Fixes:
- fix highlight inside HTML tags
Changes:
- add PHP support
- improve compatibility with HTML syntax highlighting
- move context definitions into separate named blocks:
nunjucks-statement
,nunjucks-expression
, andnunjucks-comment
- add a new
prototype
context to includenunjucks
package globally - simplify the
main
context with a single reference tometa.template.njk
- update statement, expression, and comment blocks to use individual includes for relevant Nunjucks elements
Nunjucks v2.1.0
Fixes:
- fix highlight inside HTML tags
Changes:
- add PHP support
- improve compatibility with HTML syntax highlighting
- move context definitions into separate named blocks:
nunjucks-statement
,nunjucks-expression
, andnunjucks-comment
- add a new
prototype
context to includenunjucks
package globally - simplify the
main
context with a single reference tometa.template.njk
- update statement, expression, and comment blocks to use individual includes for relevant Nunjucks elements
Nunjucks v2.0.3
Fixes:
- resolved recursion limit issue ("Apparent recursion within a with_prototype action: 25000 context sanity limit hit" #27)
- improved compatibility with HTML syntax highlighting
Changes:
- PHP support has been temporarily removed to fix the "resolved recursion limit issue" and will be added back soon
Nunjucks v2.0.2
Fixes
- fix syntax highlighting in PHP files
- fix typo (no such context
scope:text.html.njk#nunjucks-keywordss-other
)
Nunjucks st3-v2.0.2
This release is dedicated to supporting Sublime Text versions up to 4180. It ensures compatibility for users who prefer or require older versions of Sublime Text.
Important Note:
Starting from Sublime Text version 4186, a breaking change causes the following error (#27):
Error loading syntax file "Packages/Nunjucks/Syntaxes/Nunjucks.sublime-syntax": Apparent recursion within a with_prototype action: 25000 context sanity limit hit.
This issue is resolved in the next release, which is designed to work with Sublime Text 4186 and newer versions.
This version serves as a stable option for anyone using Sublime Text 4180 or earlier.
If you’ve encountered the above error in newer versions of Sublime Text, please upgrade to the next release.
Nunjucks v2.0.1
Nunjucks v2.0.0
Updates
- Syntax highlighting has been completely rewritten from scratch
- clear and easily maintainable code
- improved scope names
- Autocompletions have been added for all available Nunjucks tags
- The scope names for snippets and completions have been rewritten so that they only trigger in the right places
- Built-in functions and filters of the 'Nunjucks' templating engine have been added
- Key bindings have been customized to automatically add spaces inside brackets
- pressing
shift
+{
twice will turn into{{ | }}
- pressing
shift
+%
within{}
will turn into{% | %}
- pressing
shift
+#
within{}
will turn into{# | #}
- pressing
- Automatic indentation rules have been added
- A menu has been added for more convenient work with the package
Nunjucks syntax highlighting v1.3.0
New features
Automatically add spaces inside brackets:
- pressing
shift + {
twice will turn into{{ }}
- pressing
shift + %
within{}
will turn into{% %}
Add package menu:
- key bindings
- documentation
- issues
Nunjucks syntax highlighting v1.2.4
Nunjucks syntax highlighting v1.2.3
- fix color of constants in arguments
- fix single curly brace in the "{" snippet
- code refactoring