ELPA Logo GNU ELPA: devicetree-ts-mode

devicetree-ts-mode Atom Feed

Description
Tree-sitter support for DTS
Latest
devicetree-ts-mode.tar (.sig), 2024-Mar-31, 0.03 KiB
Maintainer
Devicetree-ts Development <~akagi/devicetree-ts-mode@lists.sr.ht>
Other versions:
development version
Website
https://sr.ht/~akagi/devicetree-ts-mode
ELPA's Repository
CGit or Gitweb
Badge

To install this package from Emacs, use package-install or list-packages.

Full description

0.0.1. Version 0.3

1. About

Major mode for editing Devicetree files.

Features:

  • Font Lock
  • Indent
  • IMenu

2. Installation

2.1. With guix

guix package -f guix.scm

2.2. From source

Clone this repo.

(use-package graphql-ts-mode
  :ensure nil
  :load-path "PATH TO WHICH THE REPOSITORY WAS CLONED"
  :init
  (with-eval-after-load 'treesit
    (add-to-list 'treesit-language-source-alist
                 '(devicetree "https://github.com/joelspadin/tree-sitter-devicetree"))))

This requires a working C compiler.

3. License

GPLv3