You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I am working on a project where in a specific dir, every global is a XML.Node, so you can write code like
returnhtml {charset="utf8", lang="en"} {
head {
title"Hello, World!";
meta {name="viewport", content="width=device-width, initial-scale=1"};
link {rel="stylesheet", href="index.css"};
};
body {
h1"Hello, World! This is my Portfolio";
}
}
Is it possible for LuaLS to automatically make all undefined globals to be a specific type? like
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently I am working on a project where in a specific dir, every global is a
XML.Node
, so you can write code likeIs it possible for LuaLS to automatically make all undefined globals to be a specific type? like
---@cast _G XML.Generator
or something
Beta Was this translation helpful? Give feedback.
All reactions