We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Does this bug happen when you install plugin without vim-polyglot? Yes
Describe the bug: I have a sample HTML file that should have a filetype of htmldjango but currently it is detected as plain HTML.
htmldjango
{% load static %} <footer class="footer"> My sample </footer>
I ran :autocmd BufWritePost and found that it's calling polyglot#detect#Html()
:autocmd BufWritePost
polyglot#detect#Html()
Calling polyglot#ft#FThtml() kinda fixes the issue
polyglot#ft#FThtml()
To Reproduce:
.html
This is related to #553 . Opening other HTML files looks fine but those that start with {% load static %} aren't getting detected properly
{% load static %}
The text was updated successfully, but these errors were encountered:
ba11e0f
thanks for noticing, it should be fine now
Sorry, something went wrong.
No branches or pull requests
Does this bug happen when you install plugin without vim-polyglot? Yes
Describe the bug:
I have a sample HTML file that should have a filetype of
htmldjango
but currently it is detected as plain HTML.I ran
:autocmd BufWritePost
and found that it's callingpolyglot#detect#Html()
Calling
polyglot#ft#FThtml()
kinda fixes the issueTo Reproduce:
.html
file. It's currently detected as a plain HTML fileThis is related to #553 . Opening other HTML files looks fine but those that start with
{% load static %}
aren't getting detected properlyThe text was updated successfully, but these errors were encountered: