{"id":13338332,"url":"https://github.com/pleshevskiy/tree-sitter-d2","last_synced_at":"2025-03-11T09:30:48.007Z","repository":{"id":100829663,"uuid":"573919791","full_name":"pleshevskiy/tree-sitter-d2","owner":"pleshevskiy","description":"d2 grammar for tree-sitter","archived":true,"fork":false,"pushed_at":"2023-02-17T03:03:23.000Z","size":869,"stargazers_count":9,"open_issues_count":8,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-23T20:15:25.142Z","etag":null,"topics":["d2","grammar","parser","tree-sitter"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pleshevskiy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-12-03T21:08:45.000Z","updated_at":"2024-10-04T02:01:31.000Z","dependencies_parsed_at":"2023-06-10T07:15:37.518Z","dependency_job_id":null,"html_url":"https://github.com/pleshevskiy/tree-sitter-d2","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/pleshevskiy%2Ftree-sitter-d2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pleshevskiy%2Ftree-sitter-d2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pleshevskiy%2Ftree-sitter-d2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pleshevskiy%2Ftree-sitter-d2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pleshevskiy","download_url":"https://codeload.github.com/pleshevskiy/tree-sitter-d2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243007006,"owners_count":20220756,"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":["d2","grammar","parser","tree-sitter"],"created_at":"2024-07-29T19:16:17.878Z","updated_at":"2025-03-11T09:30:48.000Z","avatar_url":"https://github.com/pleshevskiy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tree-sitter-d2\n\nd2 grammar for tree-sitter.\n\nReferences:\n- https://d2lang.com/\n\n## Highlights\n\n![screenshot](./assets/screenshot.png)\n\n\n# Install\n\n## Neovim\n\nUsing `nvim-treesitter`, add to your configuration\n\n```lua\nlocal parser_config = require(\"nvim-treesitter.parsers\").get_parser_configs()\nparser_config.d2 = {\n  install_info = {\n    url = 'https://github.com/pleshevskiy/tree-sitter-d2',\n    revision = 'main',\n    files = { 'src/parser.c', 'src/scanner.cc' },\n  },\n  filetype = 'd2',\n};\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpleshevskiy%2Ftree-sitter-d2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpleshevskiy%2Ftree-sitter-d2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpleshevskiy%2Ftree-sitter-d2/lists"}