Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added autorecognition and html syntax support to jinja configuration #5039

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

altunyurt
Copy link

The configuration file shipped with kakoune does not help the recognition of template files and it does not provide any kind of highlighting for html, css or js sections. Simply requiring the html module in the jinja module fixes the issue.

  I dedicate any and all copyright interest in this software to the
  public domain.  I make this dedication for the benefit of the public at
  large and to the detriment of my heirs and successors.  I intend this
  dedication to be an overt act of relinquishment in perpetuity of all
  present and future rights to this software under copyright law.

# Highlighters
# ‾‾‾‾‾‾‾‾‾‾‾‾

add-highlighter shared/jinja regions
add-highlighter shared/jinja/html default-region ref html
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jinja is not necessarily a html template though, could be any language, why use html here ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants