Skip to content

odanoburu/turtle-ts-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

RDF Turtle Tree-sitter mode for Emacs

A simple tree-sitter major mode for RDF Turtle supporting Emacs >29.

Manual installation

See this walkthrough for how to setup Emacs with tree-sitter. You will need the Tree-sitter grammar for RDF Turtle:

(add-to-list 'treesit-language-source-alist '(turtle "https://github.com/GordianDziwis/tree-sitter-turtle"))

Then clone this repo somewhere in your Emacs load-path. I recommend creating a directory for your Emacs packages that are not managed by any package manager, and then adding all of its subdirectories to your load-path. Then all you have to do is git clone this package in this directory, and load it.

(let ((default-directory "~/.config/emacs/my-pkgs/"))
  (normal-top-level-add-subdirs-to-load-path))

(use-package turtle-ts-mode)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published