All Projects → kkiyama117 → coc-toml

kkiyama117 / coc-toml

Licence: MIT license
Toml extension for coc-nvim, using taplo for lsp engine

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to coc-toml

coc-sql
SQL extension for coc.nvim
Stars: ✭ 104 (+100%)
Mutual labels:  coc, coc-nvim
coc-webview
Using an external browser to support the webview in coc.nvim.
Stars: ✭ 21 (-59.62%)
Mutual labels:  coc, coc-nvim
coc-volar
Volar (Fast Vue Language Support) extension for coc.nvim
Stars: ✭ 143 (+175%)
Mutual labels:  coc, coc-nvim
coc-discord-rpc
😎 An awesome and fully customizable coc-extension to get Discord Rich Presence integration with NeoVim.
Stars: ✭ 139 (+167.31%)
Mutual labels:  coc, coc-extension
coc-nginx
nginx-language-server extension for coc.nvim
Stars: ✭ 16 (-69.23%)
Mutual labels:  coc, coc-nvim
Tomlc99
TOML C library
Stars: ✭ 216 (+315.38%)
Mutual labels:  toml
serdepp
c++ serialize and deserialize adaptor library like rust serde.rs
Stars: ✭ 70 (+34.62%)
Mutual labels:  toml
Python Benedict
dict subclass with keylist/keypath support, I/O shortcuts (base64, csv, json, pickle, plist, query-string, toml, xml, yaml) and many utilities. 📘
Stars: ✭ 204 (+292.31%)
Mutual labels:  toml
vim-nayvy
🌑 Enriching python coding in Vim 🐍
Stars: ✭ 66 (+26.92%)
Mutual labels:  coc
tomlrb
A Racc based TOML parser
Stars: ✭ 63 (+21.15%)
Mutual labels:  toml
Simple Settings
A simple way to manage your project settings.
Stars: ✭ 165 (+217.31%)
Mutual labels:  toml
Config
📝 Go config manage(load,get,set). support JSON, YAML, TOML, INI, HCL, ENV and Flags. Multi file load, data override merge, parse ENV var. Go应用配置加载管理,支持多种格式,多文件加载,远程文件加载,支持数据合并,解析环境变量名
Stars: ✭ 225 (+332.69%)
Mutual labels:  toml
tomlcheck
A syntax checker for TOML files
Stars: ✭ 28 (-46.15%)
Mutual labels:  toml
Awesome Cms
📚 A collection of open and closed source Content Management Systems (CMS) for your perusal.
Stars: ✭ 2,498 (+4703.85%)
Mutual labels:  toml
gtree
Output tree🌳 or Make directories📁 from #Markdown or Programmatically. Provide CLI, Golang library and Web (using #Wasm ).
Stars: ✭ 88 (+69.23%)
Mutual labels:  toml
Protodep
Collect necessary .proto files (Protocol Buffers IDL) and manage dependencies
Stars: ✭ 167 (+221.15%)
Mutual labels:  toml
version-sync
Keep version numbers in sync with Cargo.toml
Stars: ✭ 65 (+25%)
Mutual labels:  toml
Cli
A simple, fast, and fun package for building command line apps in Go
Stars: ✭ 16,995 (+32582.69%)
Mutual labels:  toml
Joshuto
ranger-like terminal file manager written in Rust
Stars: ✭ 224 (+330.77%)
Mutual labels:  toml
toml-f
TOML parser implementation for data serialization and deserialization in Fortran
Stars: ✭ 69 (+32.69%)
Mutual labels:  toml

coc-toml

npm version

toml language server extension for coc.nvim.

Powered by taplo

! Important

  • Issues and pull requests are all welcome. I'm a beginner in rust and ts. So, please tell me if I'm wrong or going to bad way to implement this.
  • This plugin supports coc 0.0.80 now.

Install

  • from coc command :CocInstall coc-toml
  • from plugin manager
    • (e.x) dein.vim
      [[plugins]]
      repo    = 'kkiyama117/coc-toml'
      depends = 'coc.nvim'
      
    • I checked this plugin(v1.2.5) works with dein.vim and vim-plug

Add external schemas

You can add external schema config for specific type of toml like dein.nvim config file. To read details, see vim help(If installed with plugin manager) or doc txt on the web and taplo doc.

Keymaps

This plugin has no unique keymaps now. Use your own keybinding or commands for coc.nvim. See coc.nvim document.

Features

lsp support

  • You can format and lint all kind of toml file.
  • Completion is supported on some format of toml files.
    • (e.x.) pyproject.toml, rustfmt.toml, Cargo.toml, dein.nvim ...
    • default schema and rules are here

commands

  • toml.syntaxTree -> show syntaxTree like rust-analyzer does.
  • toml.downloadSchemas -> Download all schemas to local.
  • toml.tomlToJson -> convert toml to json. If you run it with visualmode, convert toml in selected range instead of it in the whole of document.
  • toml.jsonToToml -> convert json to toml. If you run it with visualmode, convert json in selected range instead of it in the whole of document.
    • Keep in mind if coc-toml is active when using these command (especially jsonToToml).

options

there are many options for this coc-extension. see :help coc-toml-options. if you need to set these options, edit your coc-settings.json(or run :CocConfig).

Develop

if you want to build from sources or debug this repo, switch to main branch and run yarn --frozen-lockfile to build.

License

MIT.

Dependencies

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].