Go to file
Matej Cepl be449e9359 - 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) }

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=21
2022-06-29 21:21:37 +00:00
2022-06-29 21:21:37 +00:00
2022-06-29 21:21:37 +00:00
2022-06-29 21:21:37 +00:00

How to update the lua-language-server package

Prerequisites:

You need the tar_scm obs service installed:

zypper in obs-service-tar_scm

Updating to a new version from upstream

Edit the _service and spec file and update the version variable.

Download the new source file by running:

osc service disabledrun

Update the changelog file with the upstream release notes.

Description
No description provided
Readme 856 MiB
Languages
Shell 100%