Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | build: enable lintlua for test/unit/ dir #26396 | Justin M. Keyes | 2023-12-04 |
| | | | | | | | | | | | | | Problem: Not all Lua code is checked by stylua. Automating code-style is an important mechanism for reducing time spent on accidental (non-essential) complexity. Solution: - Enable lintlua for `test/unit/` directory. - TODO: only `test/functional/` remains unchecked. previous: 45fe4d11add933df76a2ea4bf52ce8904f4a778b previous: 517f0cc634b985057da5b95cf4ad659ee456a77e | ||
* | fix(lua): improve annotations for stricter luals diagnostics (#24609) | Christian Clason | 2023-08-09 |
| | | | | | | | | | | | | | | | Problem: luals returns stricter diagnostics with bundled luarc.json Solution: Improve some function and type annotations: * use recognized uv.* types * disable diagnostic for global `vim` in shared.lua * docs: don't start comment lines with taglink (otherwise LuaLS will interpret it as a type) * add type alias for lpeg pattern * fix return annotation for `vim.secure.trust` * rename local Range object in vim.version (shadows `Range` in vim.treesitter) * fix some "missing fields" warnings * add missing required fields for test functions in eval.lua * rename lsp meta files for consistency | ||
* | refactor(unit): add type annotations | Lewis Russell | 2023-04-14 |
| | |||
* | unittests: Move filtering cdefs to main process | ZyX | 2017-03-12 |
| | |||
* | test/unit: clean up according to luacheck | Marco Hinz | 2015-11-23 |
| | |||
* | unittest: convert set.moon to lua | Thiago de Arruda | 2014-08-31 |