GNU ELPA - devicetree-ts-mode

devicetree-ts-mode

Description
Tree-sitter support for DTS
Latest
devicetree-ts-mode-0.3.tar (.sig), 2024-Mar-31, 20.0 KiB
Maintainer
Aleksandr Vityazev <avityazew@gmail.com>
Atom feed
devicetree-ts-mode.xml
Website
https://sr.ht/~akagi/devicetree-ts-mode
Browse 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