micro-editor / micro-editor/micro

Missing syntax highlighting support for DTS (Device Tree Source) files

Open Beginner friendly
#2,418 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
29.6k
Forks
1.4k
Avg merge
2d 18h
Merged PRs (30d)
10

Description

Description of the problem or steps to reproduce

Opening a .dts file (or .dtsi include for that matter) such as msm8998-oneplus-cheeseburger.dts in the Linux kernel has no syntax highlighting while opening it, while with a fully stock neovim for example it does.

I might try coming up with a syntax file later perhaps.

Specifications

Commit hash: b976385 (2.0.10)
OS: Void Linux
Terminal: GNOME Terminal

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the repository's runtime/syntax directory, which is the location linked by the issue, and compare existing syntax definitions with the DTS and DTSI examples mentioned. Add syntax highlighting for .dts and .dtsi files, then verify that opening those files applies highlighting.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.