Skip to main content

run

Function run 

Source
pub fn run(args: &InitLspCommand) -> Result<()>
Expand description

Runs the LSP initialization command.

This setup creates necessary configuration files (like .luarc.json) and downloads type definitions to enable better development experience in LSP-supported editors.

ยงErrors

Returns an error if the LSP workspace setup fails.