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

Syntax highlighting for device tree source files (DTS) #2164

Closed
vinibali opened this issue May 25, 2019 · 3 comments
Closed

Syntax highlighting for device tree source files (DTS) #2164

vinibali opened this issue May 25, 2019 · 3 comments

Comments

@vinibali
Copy link

vinibali commented May 25, 2019

Is your feature request related to a problem? Please describe.
Syntax highlighting doesn't turn of when I open a file with dts extension

Describe the solution you'd like
Geany to pick C-like source highlighting

Describe alternatives you've considered

Additional context
https://www.kernel.org/doc/Documentation/devicetree/booting-without-of.txt
line:1129:"The format of the .dts "source" file is "C" like, supports C and C++"

@elextr
Copy link
Member

elextr commented May 25, 2019

Your link 404s

You can add extension to be handled as C or C++ by editing Tools->Configuration files->filetype_extensions.conf as described in the manual

@vinibali
Copy link
Author

The link has been fixed and thank you for the information.
Anyway, I think somebody should take care of this request in the master branch.

BR

@codebrainz
Copy link
Member

This kind of esoteric format is exactly why stuff like filetype_extensions.conf exists.

I'm closing this for now as it's already supported, just not by default. Feel free to re-open or comment more on it.

@codebrainz codebrainz changed the title [feature request] syntax highlighting for device tree source files (DTS) Syntax highlighting for device tree source files (DTS) May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants