Lua Language Server coded by Lua

Edit Package lua-language-server
https://github.com/sumneko/lua-language-server

This package provides the lua-language-server.

Refresh
Refresh
Source Files
Filename Size Changed
3.4.0.tar.gz 0001954656 1.86 MB
README.suse-maint.md 0000000394 394 Bytes
_service 0000001099 1.07 KB
lua-language-server-3.4.0-submodules.zip 0027231592 26 MB
lua-language-server.changes 0000017464 17.1 KB
lua-language-server.spec 0000002340 2.29 KB
lua-lsp-launcher.sh 0000000330 330 Bytes
Revision 10 (latest revision is 17)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 985951 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 10)
- Update to 3.4.0:
  - NEW diagnostics:
        cast-local-type
        assign-type-mismatch
        param-type-mismatch
        unknown-cast-variable
        cast-type-mismatch
        missing-return-value
        redundant-return-value
        missing-return
        return-type-mismatch
  - NEW settings:
        diagnostics.groupSeverity
        diagnostics.groupFileStatus
        type.castNumberToInteger
        type.weakUnionCheck
        hint.semicolon
  - CHG infer nil as redundant return value
    local function f() end
    local x = f() -- `x` is `nil` instead of `unknown`
  - CHG infer called function by params num
    ---@overload fun(x: number, y: number):string
    ---@overload fun(x: number):number
    ---@return boolean
    local function f() end
    local n1 = f()     -- `n1` is `boolean`
    local n2 = f(0)    -- `n2` is `number`
    local n3 = f(0, 0) -- `n3` is `string`
  - CHG semicolons and parentheses can be used in DocTable
    ---@type { (x: number); (y: boolean) }
Comments 0
openSUSE Build Service is sponsored by