And you can only access things between files using global variables. The problem is that I can't include multiple files in .luacompleterc so it can autocomplete global functions and variables defined in different files.
Is it possible to add something like "requireFiles": [ "./file1.lua", "./file2.lua" ] to .luacompleterc?
Hello,
There are Lua environments that doesn't support
require
(for example Multi Theft Auto: San Andreas or FiveM)It often uses some external config file to specify list of Lua scripts to be executed. For example, in MTA:SA you have an xml file like this:
And you can only access things between files using global variables. The problem is that I can't include multiple files in
.luacompleterc
so it can autocomplete global functions and variables defined in different files.Is it possible to add something like
"requireFiles": [ "./file1.lua", "./file2.lua" ]
to.luacompleterc
?Thanks.