Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 713 Bytes

README.org

File metadata and controls

27 lines (17 loc) · 713 Bytes

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. Initial set up:
    1. git clone git@github.com:casouri/tree-sitter-module.git
    2. cd tree-sitter-module
    3. ./build.sh ruby
    4. mkdir ~/.config/emacs/tree-sitter
    5. 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.