@statiolake/coc-stylua
statiolakestylua extension for coc.nvim.
Published Package Summary
coc-stylua
stylua extension for coc.nvim. Forked from stylua-vscode
Install
:CocInstall coc-stylua
Features
- Format current buffer
- Format selection
You can add "lua" to coc.preferences.formatOnSaveFiletypes to format your code automatically on save.
License
MIT
This extension is built with create-coc-extension
- stylua extension for coc.nvim.
- onLanguage:lua
Want to build, test, or contribute to coc.nvim extensions? Explore our official SDK and testing toolkits.
Open Developer GuideVersion History
This published npm package does not include a history.md or changelog.md file. Browse its npm versions or repository releases for available release information.
Contributed Commands
All contributes.commands entries from the published package manifest for @statiolake/coc-stylua@0.3.0.
| Command (:CocCommand) | Description |
|---|---|
| stylua.install | Reinstall stylua |
| stylua.update | Update stylua |
| stylua.version | Show stylua version |
Configuration Schema
All contributes.configuration entries from the published package manifest, including each raw property schema for coc-settings.json.
Raw JSON Schema
{
"type": "string",
"default": "latest",
"markdownDescription": "The version to install, or `latest` to install latest release"
}Raw JSON Schema
{
"type": [
"string",
"null"
],
"default": null,
"description": "Specify path to stylua.toml configuration file."
}Raw JSON Schema
{
"type": [
"string",
"null"
],
"default": null,
"description": "Specifies the path of stylua. If not specified, will automatically download one from the GitHub releases."
}Raw JSON Schema
{
"type": "boolean",
"default": true,
"description": "Whether to check out the latest stylua version."
}