Skip to main content

luals_meta

Function luals_meta 

Source
pub fn luals_meta() -> String
Expand description

The ---@meta file for lua-language-server, as text.

Write it to a directory on the server’s workspace.library and scripts get completion and diagnostics for the prelude’s builders and every prop.

std::fs::write("lua/kui.lua", kui_lua::luals_meta())?;