Skip to content

Commit ef2683d

Browse files
committed
Add missing func parameters and recommend skipping the rest of the tests
1 parent 4ceb000 commit ef2683d

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

CONTRIBUTING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ Files in `/Data` `/Export` and `/TreeData` can be massive and cause the EmmyLua
183183
"workspace": {
184184
"ignoreGlobs": [
185185
"**/*_spec.lua",
186+
"spec/**/*.lua",
186187
"runtime/lua/sha1/lua53_ops.lua",
187188
"**/src/Data/**/*.lua",
188189
"**/src/TreeData/**/*.lua",
@@ -192,7 +193,7 @@ Files in `/Data` `/Export` and `/TreeData` can be massive and cause the EmmyLua
192193
}
193194
```
194195

195-
This file can be customised according to what you want. It is a good idea to ignore `_spec.lua` files as these tend to add things to the global namespace, which will look confusing. `lua53_ops.lua` produces errors and doesn't actually get imported when using LuaJIT. It can be useful to keep the data and mod parser files, but generally this will increase the time the LSP takes to index the project on startup.
196+
This file can be customised according to what you want. It is a good idea to ignore test files as these tend to add things to the global namespace, which will look confusing, and they are designed to be run by Busted. `lua53_ops.lua` produces errors and doesn't actually get imported when using LuaJIT. It can be useful to keep the data and mod parser files, but generally this will increase the time the LSP takes to index the project on startup.
196197

197198
### PyCharm Community / IntelliJ Idea Community
198199

src/_SimpleGraphic.def.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,21 +148,21 @@ function DrawImageQuad(imgHandle, x1, y1, x2, y2, x3, y3, x4, y4, stackIdx, mask
148148
---@param height number
149149
---@param font Font
150150
---@param text string
151-
function DrawString() end
151+
function DrawString(left, top, align, height, font, text) end
152152

153153
---@param height number
154154
---@param font Font
155155
---@param text string
156156
---@return integer physicalWidth
157-
function DrawStringWidth() end
157+
function DrawStringWidth(height, font, text) end
158158

159159
---@param height number
160160
---@param font Font
161161
---@param text string
162162
---@param cursorX number
163163
---@param cursorY number
164164
---@return integer
165-
function DrawStringCursorIndex() end
165+
function DrawStringCursorIndex(height, font, text, cursorX, cursorY) end
166166

167167
---@param text string
168168
---@return string

0 commit comments

Comments
 (0)