Skip to content

Commit

Permalink
Jinja2.yaml: Add Jinja2 Language
Browse files Browse the repository at this point in the history
Closes coala#20
  • Loading branch information
Naveenaidu committed Nov 15, 2018
1 parent e0b4e01 commit 9475581
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 1 deletion.
File renamed without changes.
3 changes: 3 additions & 0 deletions data/Delimiter/curly_braces_curly_braces.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
type: block
start: '{{'
end: '}}'
3 changes: 3 additions & 0 deletions data/Delimiter/curly_braces_percent.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
type: block
start: '{%'
end: '%}'
3 changes: 3 additions & 0 deletions data/Delimiter/multiline_curly_braces_hash.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
type: comment
start: '{#'
end: '#}'
44 changes: 44 additions & 0 deletions data/Language/Jinja2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
identifier: Jinja2
full_name: Jinja2
wikidata: Q4041851
extensions:
- jj2
- j2
- jinja
- jinja2
datatypes:
- bool_title_case
delimiters:
# comment delimiter
- multiline_curly_braces_hash
# block delimiter
- curly_braces_curly_braces
- curly_braces_percent
keywords:
- as
- block
- call
- else
- endblock
- endcall
- endfilter
- endfor
- endif
- endmacro
- endraw
- endset
- endwith
- extends
- filter
- for
- from
- if
- import
- in
- include
- macro
- not
- raw
- scoped
- set
- with
2 changes: 1 addition & 1 deletion data/Language/Python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ keywords:
- with
- yield
datatypes:
- bool_python
- bool_title_case
- int_python
- str_python
- float_python
Expand Down

0 comments on commit 9475581

Please sign in to comment.