Skip to content

Add Xtend as syntax #2

@ThomDietrich

Description

@ThomDietrich

Hey,
your great addition is now part of openHABian: https://community.openhab.org/t/openhabian-hassle-free-rpi-image/13379
openhab/openhabian@9c5650f
Thanks!

When testing, I ran across one problem though. GitHub utilizes an app called Linguist to highlight source code. It is of course not able to highlight .rules files. The solution to this is to put a vim modeline at the end of the file: // vim: syntax=Xtend (Example)
This however collides with your syntax=openhab and highlighting is disabled.

Would you be okay to add Xtend as an alternative language to your repo?

In return adding "filetype" to my files would not be a problem. I was about to propose the whole thing as a PR against the demo config package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions