tree-sitter-rbs

Crates.iotree-sitter-rbs
lib.rstree-sitter-rbs
version0.2.2
created_at2025-11-09 11:03:14.387514+00
updated_at2025-11-13 23:11:44.941571+00
descriptionrbs grammar for the tree-sitter parsing library
homepage
repositoryhttps://github.com/joker1007/tree-sitter-rbs
max_upload_size
id1924004
size912,104
Tomohiro Hashidate (joker1007)

documentation

README

tree-sitter-rbs

Build/test

rbs grammar for tree-sitter.

syntax reference is https://github.com/ruby/rbs/blob/master/docs/syntax.md

Use this in Neovim

this parser is supported in nvim-treesitter. (https://github.com/nvim-treesitter/nvim-treesitter/pull/5745)

Please run :TSInstall rbs

If you want to use specific version in Neovim

Please write it to neovim config.

vim.api.nvim_create_autocmd("User", {
  pattern = "TSUpdate",
  callback = function()
    require("nvim-treesitter.parsers").rbs.install_info.revision = "<commit sha1>"
  end,
})
Commit count: 0

cargo fmt