Toml extension for coc-nvim, using taplo for lsp engine
toml language server extension for coc.nvim.
Powered by taplo
0.0.80
now.:CocInstall coc-toml
[[plugins]]
repo = 'kkiyama117/coc-toml'
depends = 'coc.nvim'
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.
This plugin has no unique keymaps now. Use your own keybinding or commands for coc.nvim. See coc.nvim document.
pyproject.toml
, rustfmt.toml
, Cargo.toml
, dein.nvim
...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.
coc-toml
is active when using these command (especially jsonToToml
).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
).
if you want to build from sources or debug this repo, switch to main
branch and run yarn --frozen-lockfile
to build.
MIT.