aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/_meta.lua
Commit message (Collapse)AuthorAge
* fix(lua): improve annotations for stricter luals diagnostics (#24609)Christian Clason2023-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