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

please help with filetype #10

Open
prankousky opened this issue Apr 8, 2022 · 1 comment
Open

please help with filetype #10

prankousky opened this issue Apr 8, 2022 · 1 comment

Comments

@prankousky
Copy link

Hi everybody,

I recently stumbled across this project and had to try it. After installing coc.nvim and populating the CocConfig, I realized nothing would work when entering a .yaml file in my Home Assistant directory.

Eventually, I tried :set filetype=home-assistant, and all the sudden got completion working. However, this removed syntax highlighting for .yaml, so the entire file was rendering in one single color (instead of, for example - (orange) service (teal) : (orange) media_player.turn_off (green).

Is there a way to use this and keep syntax highlighting for yaml working at the same time?

Thank you in advance for your ideas :)

@cjd
Copy link

cjd commented May 24, 2023

You can fix up the syntax highlighting with
:set syntax=yaml

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