lua-lsp icon indicating copy to clipboard operation
lua-lsp copied to clipboard

external typing

Open Alloyed opened this issue 8 years ago • 1 comments

Native modules can't be easily parsed the way lua can: for one we might not even have the source. So it makes sense to provide a .luacompleterc-inspired format that can either be hand-made or generated, and then can be loaded when a user tries to use this kind of a module. imagined filesystem structure

: share/lua/5.1/dir/my_module.lua
: share/lua/5.1/dir/my_module.luacmp.json
: share/lua/5.1/native_module.luacmp.json
: lib/lua/5.1/native_module.so

Alloyed avatar Nov 11 '17 10:11 Alloyed

generated this test case https://github.com/Alloyed/imgui-bindings/blob/alloyed/src/lua-bindings/autocomplete.json

Alloyed avatar Oct 15 '20 02:10 Alloyed