coc-stylua
v0.0.14
Published
StyLua extension for coc.nvim.
Readme
coc-stylua
StyLua for coc.nvim.
Install
:CocInstall coc-styluaUsage
- Just run coc's formatting commands.
- Add
"lua"tococ.preferences.formatOnSaveFiletypesto format on save.
Settings
stylua.releaseVersion: version to install,latestby default.stylua.styluaPath: path to a StyLua binary. When set, no download happens.stylua.configPath: path to astylua.toml.stylua.formatOptions: extra arguments forstylua --lsp, e.g.["--indent-width", "4"]. Seestylua -hfor the available FORMATTING OPTIONS. They overridestylua.toml.stylua.checkUpdate: check for a newer release after startup.
Commands
:CocCommand stylua.reinstall installs StyLua again.
License
MIT
