{"id":15451110,"url":"https://github.com/yaegassy/coc-ruby-syntax-tree","last_synced_at":"2026-04-09T21:14:42.486Z","repository":{"id":103555154,"uuid":"563174511","full_name":"yaegassy/coc-ruby-syntax-tree","owner":"yaegassy","description":"coc.nvim support for the syntax_tree gem","archived":false,"fork":false,"pushed_at":"2022-11-08T07:20:32.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T02:49:42.918Z","etag":null,"topics":["coc-extensions","coc-nvim","neovim","ruby","syntax-tree","vim"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yaegassy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-08T03:51:17.000Z","updated_at":"2024-01-23T18:18:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"0ed2f35d-792b-4757-9d0f-523dcf2ffa11","html_url":"https://github.com/yaegassy/coc-ruby-syntax-tree","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaegassy%2Fcoc-ruby-syntax-tree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaegassy%2Fcoc-ruby-syntax-tree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaegassy%2Fcoc-ruby-syntax-tree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaegassy%2Fcoc-ruby-syntax-tree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yaegassy","download_url":"https://codeload.github.com/yaegassy/coc-ruby-syntax-tree/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246000400,"owners_count":20707707,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["coc-extensions","coc-nvim","neovim","ruby","syntax-tree","vim"],"created_at":"2024-10-01T21:21:28.277Z","updated_at":"2026-04-09T21:14:42.438Z","avatar_url":"https://github.com/yaegassy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# coc-ruby-syntax-tree\n\n\u003e fork from a [ruby-syntax-tree/vscode-syntax-tree](https://github.com/ruby-syntax-tree/vscode-syntax-tree)\n\n[coc.nvim](https://github.com/neoclide/coc.nvim) support for the [syntax_tree](https://github.com/ruby-syntax-tree/syntax_tree) gem\n\n## DEMO\n\nhttps://user-images.githubusercontent.com/188642/200471161-d9785784-6154-4919-8b18-0427f0febe14.mp4\n\n## **!!Note \u0026 Warning!!**\n\nI don't use ruby regularly, so if you like ruby, please refer to this repository and create `coc-ruby-syntax-tree` by yourself.\n\n## Install\n\nYou need to have [coc.nvim](https://github.com/neoclide/coc.nvim) installed for this extension to work.\n\n**e.g. vim-plug**:\n\n```vim\nPlug 'yaegassy/coc-ruby-syntax-tree', {'do': 'yarn install --frozen-lockfile'}\n```\n\n## Usage\n\n`syntax_tree` (`stree`) must be installed in the project or installed globally. Alternatively, you can also set the `stree` executable path in the `syntaxTree.advanced.commandPath` settings.\n\n## Features\n\n- textDocument/formatting\n- textDocument/inlayHint\n- syntaxTree/visualizing \n\n---\n\n### inlayHint(Vim9)\n\n\u003cimg width=\"134\" alt=\"coc-ruby-syntax-tree-inlayhints-vim9\" src=\"https://user-images.githubusercontent.com/188642/200488838-e3e83a87-80c8-4669-b32e-6878afca14c3.png\"\u003e\n\n### inlayHint(Neovim)\n\n\u003cimg width=\"118\" alt=\"coc-ruby-syntax-tree-inlayhints-neovim\" src=\"https://user-images.githubusercontent.com/188642/200488866-b31d4cf4-1746-4235-8ff3-5fe6ce50e7dd.png\"\u003e\n\n### syntaxTree/visualizing\n\n\u003cimg width=\"791\" alt=\"coc-ruby-syntax-tree-visualize\" src=\"https://user-images.githubusercontent.com/188642/200498204-094026a9-aa54-4009-93cc-af81c933382a.png\"\u003e\n\n## Configuration options\n\n- `syntaxTree.enable`: Enable coc-ruby-syntax-tree extension, default: `true`\n- `syntaxTree.advanced.commandPath`: Absolute path to stree executable, default: `\"\"`\n- `syntaxTree.additionalPlugins`: Registers [extra behaviors](https://github.com/ruby-syntax-tree/syntax_tree#plugins) with the language server, default: `[]`\n- `syntaxTree.ignoreFiles`: A glob pattern of files to ignore for formatting, default: `\"\"`\n- `syntaxTree.printWidth`: The width to be used when formatting code, default: `null`\n- `syntaxTree.singleQuotes`: Uses single-quoted strings when possible, default: `false`\n- `syntaxTree.trailingComma`: Adds a trailing comma to multi-line array literals, hash literals, and method parameters, default: `false`\n\n## Commands\n\n- `syntaxTree.start`: Syntax Tree: Start\n- `syntaxTree.stop`: Syntax Tree: Stop\n- `syntaxTree.restart`: Syntax Tree: Restart\n- `syntaxTree.showOutputChannel`: Syntax Tree: Show Output Channel\n- `syntaxTree.visualize`: Syntax Tree: Visualize\n\n## Thanks\n\n- [ruby-syntax-tree/syntax_tree](https://github.com/ruby-syntax-tree/syntax_tree)\n- [ruby-syntax-tree/vscode-syntax-tree](https://github.com/ruby-syntax-tree/vscode-syntax-tree)\n\n## License\n\nMIT\n\n---\n\n\u003e This extension is built with [create-coc-extension](https://github.com/fannheyward/create-coc-extension)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaegassy%2Fcoc-ruby-syntax-tree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyaegassy%2Fcoc-ruby-syntax-tree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaegassy%2Fcoc-ruby-syntax-tree/lists"}