-
| 
         The development environment I'm working with is based on HavokScript 2013 (modified Lua 5.1) and in it, support for structs and type qualifiers was added. I was just wondering if and how I could implement some kind of support for them, or at least have the language server ignore them so they don't get error checked. Struct implementation is like so: hstructure Foo
    x :number
    y :number
    parameters :table
    text :string
end
local Bar = hmake Foo {
    x = 3,
    y = 5,
    parameters = { "text", "more text" },
    text = "also text"
}As you can see, I used the aforementioned type qualifiers in this struct example, but they can also be used like so: local x :number = 50
function Spam(argOne :string, argTwo :boolean)
    -- Might do stuff
endThanks in advance!  | 
  
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
| 
         You can try https://github.com/sumneko/lua-language-server/wiki/Plugins, but it maybe very hard.  | 
  
Beta Was this translation helpful? Give feedback.
You can try https://github.com/sumneko/lua-language-server/wiki/Plugins, but it maybe very hard.