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

Unable to enable client for different ft #5

Closed
JeanMertz opened this issue Oct 22, 2019 · 2 comments
Closed

Unable to enable client for different ft #5

JeanMertz opened this issue Oct 22, 2019 · 2 comments

Comments

@JeanMertz
Copy link

I added the Vim-Jinja2-Syntax plugin which dynamically sets ft to jinja.html for templated HTML files.

I also added "html.filetypes": ["html", "jinja.html"] to my coc-settings.json, but the coc-html plugin is not enabled when opening a foo.html file with ft=jinja.html.

@chemzqm
Copy link
Member

chemzqm commented Oct 22, 2019

You have to use g:coc_filetype_map

@chemzqm chemzqm closed this as completed Oct 22, 2019
@JeanMertz
Copy link
Author

Ah yes, sorry for missing that. Thank you 👍

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

No branches or pull requests

2 participants