Skip to content

feat(nvim): ruby treesitter + ruby-lsp for homebrew cask editing - #36

Merged
bupd merged 1 commit into
mainfrom
nvim-ruby-homebrew
Sep 9, 2026
Merged

feat(nvim): ruby treesitter + ruby-lsp for homebrew cask editing#36
bupd merged 1 commit into
mainfrom
nvim-ruby-homebrew

Conversation

@bupd

@bupd bupd commented Sep 9, 2026

Copy link
Copy Markdown
Owner

Follow-up to #27. Adds the ruby parser to nvim-treesitter's install list and highlight autocmd, and enables ruby_lsp for .rb files - homebrew casks being the use case.

Host-side pieces installed alongside (not in this diff): brew install ruby-lsp tree-sitter-cli - the treesitter main branch shells out to the tree-sitter CLI to compile parsers, which was also why parser builds failed silently at first.

Verified against a real cask file: ruby treesitter parses cleanly and ruby_lsp attaches to the buffer.

Add the ruby parser to the install list and highlight autocmd, and
enable ruby_lsp (installed via brew alongside tree-sitter-cli, which
the nvim-treesitter main branch needs to compile parsers). Verified
against a cask file: treesitter parses and ruby_lsp attaches.
@bupd
bupd merged commit 329c2da into main Sep 9, 2026
@bupd
bupd deleted the nvim-ruby-homebrew branch September 9, 2026 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant