Any project to provide type annotation for lua like https://github.com/DefinitelyTyped/DefinitelyTyped/ for js? #2624
-
For example, I edit the configuration fo wezterm: local wezterm = require 'wezterm'
local hostname = wezterm.hostname()
-- ... How can we get completion when input And vim plugin is same: In javascript, I know we can Is any method to support it in lua-language-server? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello 👋 Creating something like DefinitelyTyped is one of my goals that is at least underway. Users can create definition files (like a There is a discussion about how the process can be improved, if you have any ideas/feedback 🙂 |
Beta Was this translation helpful? Give feedback.
Hello 👋
Creating something like DefinitelyTyped is one of my goals that is at least underway. Users can create definition files (like a
d.ts
file). These definitions can then be included in an addon. Addons can then be added to the LLS-Addons project. These addons are then pulled by the addon manager in VS Code, where they can be managed easily using a custom UI.There is a discussion about how the process can be improved, if you have any ideas/feedback 🙂