Skip to content

Ruby major mode for Emacs 29 based upon tree sitter

Notifications You must be signed in to change notification settings

pedz/ruby-ts-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby Tree Sitter Mode

Introduction

This is where I am going to keep notes as I develop the ruby-ts-mode.el.

Steps

I’m hoping not to forget some steps I did…

  1. a. git clone git@github.com:casouri/tree-sitter-module.git b. cd tree-sitter-module c. ./build.sh ruby d. mkdir ~/.config/emacs/tree-sitter e. mv dist/libtree-sitter-ruby.dylib ~/.config/emacs/tree-sitter
  2. Loaded a Ruby file and did M-: (treesit-parser-create 'ruby) which returned #<treesit-parser for ruby>… I guess that’s good.
  3. (treesit-parser-list) to check the list of parsers for the current buffer.
  4. M-x treesit-inspect-mode and it seemed happy.

About

Ruby major mode for Emacs 29 based upon tree sitter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages