{"id":13600851,"url":"https://github.com/kkiyama117/coc-toml","last_synced_at":"2025-08-04T06:41:23.235Z","repository":{"id":37976232,"uuid":"296457939","full_name":"kkiyama117/coc-toml","owner":"kkiyama117","description":"Toml extension for coc-nvim, using taplo for lsp engine","archived":false,"fork":false,"pushed_at":"2023-02-06T10:01:34.000Z","size":19839,"stargazers_count":61,"open_issues_count":9,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-14T17:17:51.579Z","etag":null,"topics":["coc","coc-extension","coc-nvim","coc-toml","toml"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/coc-toml","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/kkiyama117.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"kkiyama117","patreon":"kkiyama117","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-09-17T22:44:00.000Z","updated_at":"2025-02-17T20:52:57.000Z","dependencies_parsed_at":"2024-01-16T09:55:44.367Z","dependency_job_id":"3327af53-f4e0-46dc-9c1a-c02dfad71a74","html_url":"https://github.com/kkiyama117/coc-toml","commit_stats":{"total_commits":137,"total_committers":3,"mean_commits":"45.666666666666664","dds":0.1021897810218978,"last_synced_commit":"fba9fc908a997e60c9a88a644ef19786fe112c57"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkiyama117%2Fcoc-toml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkiyama117%2Fcoc-toml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkiyama117%2Fcoc-toml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkiyama117%2Fcoc-toml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kkiyama117","download_url":"https://codeload.github.com/kkiyama117/coc-toml/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248923727,"owners_count":21183953,"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","coc-extension","coc-nvim","coc-toml","toml"],"created_at":"2024-08-01T18:00:49.806Z","updated_at":"2025-04-14T17:17:57.075Z","avatar_url":"https://github.com/kkiyama117.png","language":"TypeScript","funding_links":["https://github.com/sponsors/kkiyama117","https://patreon.com/kkiyama117"],"categories":["Language Support","TypeScript"],"sub_categories":[],"readme":"# coc-toml\n\n[![npm version](https://badge.fury.io/js/coc-toml.svg)](https://badge.fury.io/js/coc-toml)\n\ntoml language server extension for [coc.nvim](https://github.com/neoclide/coc.nvim).\n\nPowered by [taplo](https://github.com/tamasfe/taplo)\n\n## ! Important\n\n- Issues and pull requests are all welcome. I'm a beginner in rust and ts.\nSo, please tell me if I'm wrong or going to bad way to implement this.\n- This plugin supports coc `0.0.80` now.\n\n## Install\n\n- from coc command\n`:CocInstall coc-toml`\n- from plugin manager\n  - (e.x) dein.vim\n    ```\n    [[plugins]]\n    repo    = 'kkiyama117/coc-toml'\n    depends = 'coc.nvim'\n    ```\n  - I checked this plugin(v1.2.5) works with dein.vim and vim-plug\n\n### Add external schemas\n\nYou can add external schema config for specific type of toml like dein.nvim config file.\nTo read details, see vim help(If installed with plugin manager) or [doc txt on the web](https://github.com/kkiyama117/coc-toml/blob/main/doc/coc-toml.txt) and [taplo doc](https://taplo.tamasfe.dev/configuration/#schemas).\n\n## Keymaps\nThis plugin has no unique keymaps now.\nUse your own keybinding or commands for coc.nvim.\nSee [coc.nvim document](https://github.com/neoclide/coc.nvim/blob/a1688fc34143b1b7a25ab8c98438088199863e35/doc/coc.txt#L1291).\n\n## Features\n### lsp support\n- You can format and lint all kind of toml file.\n- Completion is supported on some format of toml files.\n  - (e.x.) `pyproject.toml`, `rustfmt.toml`, `Cargo.toml`, `dein.nvim` ...\n  - default schema and rules are [here](https://taplo.tamasfe.dev/configuration/#builtin-schemas)\n\n### commands\n- `toml.syntaxTree` -\u003e show syntaxTree like `rust-analyzer` does.\n- `toml.downloadSchemas` -\u003e Download all schemas to local.\n- `toml.tomlToJson` -\u003e convert toml to json. If you run it with visualmode, convert toml in selected range instead of it in the whole of document.\n- `toml.jsonToToml` -\u003e convert json to toml. If you run it with visualmode, convert json in selected range instead of it in the whole of document.\n  - Keep in mind if `coc-toml` is active when using these command (especially `jsonToToml`).\n\n### options\nthere are many options for this coc-extension.\nsee `:help coc-toml-options`.\nif you need to set these options, edit your `coc-settings.json`(or run `:CocConfig`).\n\n### Develop\n\nif you want to build from sources or debug this repo, switch to `main` branch and run `yarn --frozen-lockfile` to build.\n\n## License\n\nMIT.\n\n## Dependencies\n\n- [taplo](https://github.com/tamasfe/taplo)\n  - to parse toml and some commands\n- [coc.nvim](https://github.com/neoclide/coc.nvim)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkiyama117%2Fcoc-toml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkkiyama117%2Fcoc-toml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkiyama117%2Fcoc-toml/lists"}