{"id":17913492,"url":"https://github.com/smolck/dart-nvim-api","last_synced_at":"2025-03-23T22:35:39.812Z","repository":{"id":51120366,"uuid":"216243760","full_name":"smolck/dart-nvim-api","owner":"smolck","description":"Neovim API implementation for the Dart programming language","archived":false,"fork":false,"pushed_at":"2021-05-22T20:35:56.000Z","size":105,"stargazers_count":33,"open_issues_count":0,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-19T00:15:36.664Z","etag":null,"topics":["dart","dart-nvim-api","neovim-api"],"latest_commit_sha":null,"homepage":"","language":"Dart","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/smolck.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-19T17:21:34.000Z","updated_at":"2024-07-01T08:23:52.000Z","dependencies_parsed_at":"2022-09-13T07:51:18.306Z","dependency_job_id":null,"html_url":"https://github.com/smolck/dart-nvim-api","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/smolck%2Fdart-nvim-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smolck%2Fdart-nvim-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smolck%2Fdart-nvim-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smolck%2Fdart-nvim-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smolck","download_url":"https://codeload.github.com/smolck/dart-nvim-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245180654,"owners_count":20573707,"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":["dart","dart-nvim-api","neovim-api"],"created_at":"2024-10-28T19:52:11.717Z","updated_at":"2025-03-23T22:35:39.523Z","avatar_url":"https://github.com/smolck.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/smolck/dart-nvim-api.svg?branch=master)](https://travis-ci.org/smolck/dart-nvim-api)\n[![Pub](https://img.shields.io/pub/v/dart_nvim_api.svg)](https://pub.dartlang.org/packages/dart_nvim_api)\n# Dart Nvim API\n\nNeovim API implementation for [Dart](dart.dev), based on and inspired by [neovim-lib](https://github.com/daa84/neovim-lib).\nStill a WIP, so any feedback, contributions, etc. are greatly appreciated.\n\n\u003e NOTE: Dart Nvim API is still in its early stages, so there are likely to be breaking API changes.\n\n# Example Usage\n```dart\nimport 'package:dart_nvim_api/dart_nvim_api.dart';\n\nvoid main(List\u003cString\u003e args) async {\n  // Start up Neovim instance, with optional `onNotify` and `onRequest`\n  // callbacks.\n  // See also Nvim.child()\n  var nvim = await Nvim.spawn();\n\n  // Run Neovim ex command.\n  await nvim.command(\"echo 'hello'\");\n\n  // Get ex command output.\n\n  assert(await nvim.exec('echo 1 + 1', true) == '2');\n\n  // Buffer example:\n  var buf = await nvim.createBuf(true, false);\n  var bufNameWithoutPath = 'some name';\n  await nvim.bufSetName(buf, bufNameWithoutPath);\n  var bufName = await nvim.bufGetName(buf);\n  assert(bufName.contains(bufNameWithoutPath));\n\n  // Kill Neovim when done.\n  nvim.kill();\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmolck%2Fdart-nvim-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmolck%2Fdart-nvim-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmolck%2Fdart-nvim-api/lists"}