GithubHelp home page GithubHelp logo

danielwelch / coc-homeassistant Goto Github PK

View Code? Open in Web Editor NEW
26.0 26.0 3.0 233 KB

A coc.nvim extension for Home Assistant

TypeScript 100.00%
autocompletion homeassistant intellisense language-server language-server-client lsp neovim vim

coc-homeassistant's People

Contributors

danielwelch avatar keesschollaart81 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

coc-homeassistant's Issues

please help with filetype

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 :)

HA Language Service

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 it still working?

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.