| Crates.io | tree-sitter-rbs |
| lib.rs | tree-sitter-rbs |
| version | 0.2.2 |
| created_at | 2025-11-09 11:03:14.387514+00 |
| updated_at | 2025-11-13 23:11:44.941571+00 |
| description | rbs grammar for the tree-sitter parsing library |
| homepage | |
| repository | https://github.com/joker1007/tree-sitter-rbs |
| max_upload_size | |
| id | 1924004 |
| size | 912,104 |
rbs grammar for tree-sitter.
syntax reference is https://github.com/ruby/rbs/blob/master/docs/syntax.md
this parser is supported in nvim-treesitter. (https://github.com/nvim-treesitter/nvim-treesitter/pull/5745)
Please run :TSInstall rbs
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,
})