danielwelch / coc-homeassistant Goto Github PK
View Code? Open in Web Editor NEWA coc.nvim extension for Home Assistant
A coc.nvim extension for Home Assistant
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 :)
Hi Daniel,
I didn't notice this effort earlier. Good to see you were able to leverage some of the work I did for VS Code.
Would it be useful to you if I pull out the Language Server/Service pieces into a separate package which you can use? That would also make implementations for other IDE's easier, it reduces code duplication etc. Let me know, then we can work together to make that happen!
Is this still working ?
I just installed it, configured as explained and tried to modify some automation in a local git repo (on my laptop, not on the HA server) but I never saw any automcomplete proposition.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.