0786afb475
Accepting request 1251280 from devel:languages:lua
...
OBS-URL: https://build.opensuse.org/request/show/1251280
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-language-server?expand=0&rev=19
2025-03-08 16:52:50 +00:00
4ee1674563
- fix wrapper script to launch the server
...
- install a missing file, otherwise the server doesn't start
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=41
2025-03-07 23:16:39 +00:00
dff1793b25
Accepting request 1248784 from devel:languages:lua
...
Automatic submission by obs-autosubmit
OBS-URL: https://build.opensuse.org/request/show/1248784
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-language-server?expand=0&rev=18
2025-02-27 13:50:47 +00:00
3e5864030a
- Add missing Source for README.suse-maint.md.
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=39
2025-02-19 18:07:48 +00:00
7b7205ab2c
Accepting request 1247013 from home:rrahl0
...
- update to 3.13.6:
* Exit 1 when check error
* Send the correct insertTextFormat
* Fixed the error that the configuration file pointed to by the --configpath
option was not read and loaded
* unittest: support test specify unit test
* Improve generic pattern to support "T.*-"
* Mark function completion items as snippets
* Basic partial class support
* Fix typo in doc exporter
* LuaDoc. Fixed the start position of the comment first symbol in docs
* Improve generic pattern to support optional, union, array. Fixed regression.
* fix: bind variables with @class using tail comments
* Mark postfix completions as snippets
* Avoid truncating output in ---doc mode
* feat: add --check_format=json|pretty
* feat: add variable substitution support for vscode's ${workspaceFolder:x}
* fix: missing field completion for generic class object
- update to 3.13.5:
* fix: incorrect infer of function array annotation on tables
* add settingLua.hint.awaitPropagate
* Add serverInfo.version to initialize response
- update to 3.13.4:
* hover supports detail level
* pass tests
* Can adjust the level of detail of Hover
- update to 3.13.3:
* Update Love2d version
* Fix missing-fields diagnostic not warning about missing inherited fields
* Added support for arrays in meta build tool
OBS-URL: https://build.opensuse.org/request/show/1247013
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=38
2025-02-19 11:03:26 +00:00
988247ca1b
Accepting request 1136998 from devel:languages:lua
...
OBS-URL: https://build.opensuse.org/request/show/1136998
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-language-server?expand=0&rev=17
2024-01-05 20:44:16 +00:00
32cfecce6c
Accepting request 1136986 from home:Oppzippy:branches:devel:languages:lua
...
- Upgrade to 3.7.4:
- fix: doc.type.function resolve only existing arg.extends
- Add a rawdesc field to exported docs
- support c like comments
- translated some options to zh-cn
OBS-URL: https://build.opensuse.org/request/show/1136986
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=36
2024-01-05 08:46:16 +00:00
f1c6b6c53a
Accepting request 1136248 from devel:languages:lua
...
OBS-URL: https://build.opensuse.org/request/show/1136248
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-language-server?expand=0&rev=16
2024-01-03 11:30:30 +00:00
00d4ea1599
Accepting request 1135805 from home:Oppzippy:branches:devel:languages:lua
...
- Upgrade to 3.7.3:
- fix: can not infer arg type in some cases
OBS-URL: https://build.opensuse.org/request/show/1135805
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=34
2024-01-02 17:04:24 +00:00
c0455b065e
Accepting request 1077998 from devel:languages:lua
...
Automatic submission by obs-autosubmit
OBS-URL: https://build.opensuse.org/request/show/1077998
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-language-server?expand=0&rev=15
2023-04-08 15:39:30 +00:00
b9f8f3d890
- Upgrade to 3.6.18:
...
- Make functions in string api accept numbers
- Don't override lm.bindir and lm.EXE_DIR in make.lua
- add: description for config.addonManager.enable
- Don't override lm.bindir and lm.EXE_DIR in make.lua
- add: description for config.addonManager.enable
- add: addon manager setting to template
- README updates
- Array of a class type does not get completion
- Improve math.abs annotation
- meta: newproxy can accept a userdata value
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=32
2023-04-01 11:28:14 +00:00
ebf88ed341
Accepting request 1065615 from devel:languages:lua
...
OBS-URL: https://build.opensuse.org/request/show/1065615
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-language-server?expand=0&rev=14
2023-02-14 15:47:02 +00:00
85cd09bfe7
Accepting request 1065412 from home:gladiac:branches:devel:languages:lua
...
- Update to version 3.6.11:
* https://github.com/sumneko/lua-language-server/blob/3.6.11/changelog.md
or packaged changelog.md
OBS-URL: https://build.opensuse.org/request/show/1065412
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=30
2023-02-13 23:23:54 +00:00
2c4ccb65ae
Accepting request 1061574 from devel:languages:lua
...
- Update to version 3.6.7:
* https://github.com/sumneko/lua-language-server/blob/3.6.7/changelog.md
or packaged changelog.md
- Added %check section
- Moved lua-language-server binary to /usr/libexec
OBS-URL: https://build.opensuse.org/request/show/1061574
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-language-server?expand=0&rev=13
2023-01-28 17:44:09 +00:00
9d0a70a95b
Fix SPEC file
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=28
2023-01-27 14:50:17 +00:00
b5c3a86d72
Accepting request 1061407 from home:gladiac:branches:devel:languages:lua
...
- Update to version 3.6.7:
* https://github.com/sumneko/lua-language-server/blob/3.6.7/changelog.md
or packaged changelog.md
- Fixed setting CFLAGS and LDFLAGS
- Added %check section
- Moved lua-language-server binary to /usr/libexec
OBS-URL: https://build.opensuse.org/request/show/1061407
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=27
2023-01-27 13:43:00 +00:00
779a5bc8f5
Accepting request 1006079 from devel:languages:lua
...
OBS-URL: https://build.opensuse.org/request/show/1006079
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-language-server?expand=0&rev=12
2022-09-26 16:48:31 +00:00
ce91409c89
Accepting request 1005755 from home:uncomfyhalomacro:branches:devel:languages:lua
...
- Update to version 3.5.6:
* fix #1506
* meta template: luajit add cdata type
* fix #1537
* Replace old variable return syntax
* fix: string.match return type
* string.find returns any for now
* update submodules
* update 3rd-api
- Remove time_includes.patch
OBS-URL: https://build.opensuse.org/request/show/1005755
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=25
2022-09-26 10:01:12 +00:00
9db44a3608
Accepting request 991164 from devel:languages:lua
...
- Update to 3.5.0:
- meta: openresty add api run_worker_thread
- bugfix:allow get() in sharedict return value and nil
- table new/clear function actual use scenarios
- #1325 : add missing paramter type for getfenv
- Meta: make osdate accept strings
- More tag descriptions
- fix typos in annotation
- Update to 3.4.1:
- Fix dofile returns multiple values ---@return any ...
- add 3rd luafilesystem
- OpenResty type annotation updates
- fixing grammar in error message
- Add time_includes.patch to fix missing #includes
(gh#sumneko/lua-language-server#1377).
OBS-URL: https://build.opensuse.org/request/show/991164
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-language-server?expand=0&rev=11
2022-07-26 17:45:21 +00:00
577fab7868
- Update to 3.5.0:
...
- meta: openresty add api run_worker_thread
- bugfix:allow get() in sharedict return value and nil
- table new/clear function actual use scenarios
- #1325 : add missing paramter type for getfenv
- Meta: make osdate accept strings
- More tag descriptions
- fix typos in annotation
- Update to 3.4.1:
- Fix dofile returns multiple values ---@return any ...
- add 3rd luafilesystem
- OpenResty type annotation updates
- fixing grammar in error message
- Add time_includes.patch to fix missing #includes
(gh#sumneko/lua-language-server#1377).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=23
2022-07-26 01:01:11 +00:00
633fbdee36
Accepting request 985951 from devel:languages:lua
...
- 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/request/show/985951
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-language-server?expand=0&rev=10
2022-06-30 11:18:27 +00:00
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
f3f268e22c
Accepting request 979571 from devel:languages:lua
...
OBS-URL: https://build.opensuse.org/request/show/979571
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-language-server?expand=0&rev=9
2022-05-28 20:16:46 +00:00
87c84fd14f
Accepting request 979563 from home:uncomfyhalomacro:branches:devel:languages:lua
...
- Update to version 3.2.4:
* Include files required to compile by @sharksforarms in #1157
* NEW settings:
- workspace.supportScheme: ["file", "untitled", "git"]
- diagnostics.disableScheme: ["git"]
* NEW folding: support folding ---@alias
* CHG if rootUri or workspaceFolder is set to ROOT or HOME, this extension will refuse to load these directories and show an error message.
* CHG show warning message when scanning more than 100,000 files.
* CHG upgrade LSP to 3.17
* FIX hover: can not union table with other basic types
* FIX #1125
* FIX #1131
* FIX #1134
* FIX #1141
* FIX #1144
* FIX #1150
* FIX #1155
- Also improved _service file to download submodules with `osc service disabledrun` for easy updating from other contributors.
OBS-URL: https://build.opensuse.org/request/show/979563
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=19
2022-05-28 07:44:01 +00:00
8cc9c9a964
Accepting request 969189 from devel:languages:lua
...
OBS-URL: https://build.opensuse.org/request/show/969189
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-language-server?expand=0&rev=8
2022-04-11 21:49:08 +00:00
0c898efdd3
Accepting request 969186 from home:gladiac:branches:devel:languages:lua
...
- Update to version 3.0.1:
* FIX #1033
* FIX #1034
* FIX #1035
* FIX #1036
* FIX runtime errors reported by telemetry, see #1037
OBS-URL: https://build.opensuse.org/request/show/969186
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=17
2022-04-11 12:13:45 +00:00
db02934251
Accepting request 968306 from home:gladiac:branches:devel:languages:lua
...
- Update to version 3.0.0:
* fix(completion): push (#1022 ) to 3.0 by @kevinhwang91 in #1026
* fixed #976 by @xiyaowong in #983
* Ensure that a completion result has 'isIncomplete' by @yoshi1123 in #995
* update meta basic.lua by @fesily in #1004
* fix(semantic-tokens): coreect token type priority by @kevinhwang91 in #1009
* Event emitter support fix by @Cassolette in #1011
* fix meta debuginfo in jit version by @fesily in #1007
* chore(editorconfig): use lf for end_of_line by @kevinhwang91 in #1010
* feat(completion): truncate arguments for callSnippet by @kevinhwang91
in #1014
* fix(completion): use args table instead of args string to parse snippet
by @kevinhwang91 in #1016
* fix(completion): avoid unnecessary file sep as trigger chars by
@kevinhwang91 in #1017
* fix(completion): limit extra lines by @kevinhwang91 in #1019
* fix(files): check uri whether equal or not by @kevinhwang91 in #1020
* chore(postfix): pretty postfix description by @kevinhwang91 in #1021
* feat(completion): use Lua code as snippet description by @kevinhwang91
in #1022
* FIX #1023 by @CppCXY in #1024
OBS-URL: https://build.opensuse.org/request/show/968306
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=16
2022-04-11 09:30:16 +00:00
7607e6fef8
Accepting request 953111 from devel:languages:lua
...
- Update to version 2.6.4:
* fix(semantic-tokens): limit comments range
* fix(semantic-tokens): data field can't be nil
* Fix regular expression to find root directory in
make/bootstrap.lua
* feat(postfix): add templates
OBS-URL: https://build.opensuse.org/request/show/953111
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-language-server?expand=0&rev=7
2022-02-10 22:12:20 +00:00
4c8329873b
- Update to version 2.6.4:
...
* fix(semantic-tokens): limit comments range
* fix(semantic-tokens): data field can't be nil
* Fix regular expression to find root directory in
make/bootstrap.lua
* feat(postfix): add templates
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=15
2022-02-10 08:44:52 +00:00
3f8404f03a
Accepting request 948411 from devel:languages:lua
...
OBS-URL: https://build.opensuse.org/request/show/948411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-language-server?expand=0&rev=6
2022-01-24 22:10:10 +00:00
8d09080297
Accepting request 948394 from home:gladiac:branches:devel:languages:lua
...
- Update to version 2.6.1:
* update ngx/openresty annotations
* add more skynet function defines
* Build for linux-arm64
* add skynet sc and mongo desc
OBS-URL: https://build.opensuse.org/request/show/948394
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=14
2022-01-24 13:31:02 +00:00
2f405f5d00
Accepting request 942982 from devel:languages:lua
...
- With help of upstream, I finally found the released upstream
zip archive.
OBS-URL: https://build.opensuse.org/request/show/942982
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-language-server?expand=0&rev=5
2021-12-29 20:10:55 +00:00
919cf14d34
Accepting request 942840 from devel:languages:lua
...
- Update to version 2.5.6:
- chore: update lua-resty-websocket library annotations
- Update OpenResty typedefs, annotations, and configuration
OBS-URL: https://build.opensuse.org/request/show/942840
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-language-server?expand=0&rev=4
2021-12-28 11:26:26 +00:00
385c018385
- With help of upstream, I finally found the released upstream
...
zip archive.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=12
2021-12-28 11:01:35 +00:00
21120685c1
- Update to version 2.5.6:
...
- chore: update lua-resty-websocket library annotations
- Update OpenResty typedefs, annotations, and configuration
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=11
2021-12-27 18:46:11 +00:00
059d4fac26
Accepting request 941297 from devel:languages:lua
...
OBS-URL: https://build.opensuse.org/request/show/941297
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-language-server?expand=0&rev=3
2021-12-18 19:30:09 +00:00
fa5ffcd6fe
Accepting request 941245 from home:gladiac:branches:devel:languages:lua
...
- Update to version 2.5.5
* FIX does not work in VSCode
OBS-URL: https://build.opensuse.org/request/show/941245
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=10
2021-12-17 19:45:23 +00:00
e45f5b2945
Accepting request 940942 from devel:languages:lua
...
OBS-URL: https://build.opensuse.org/request/show/940942
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-language-server?expand=0&rev=2
2021-12-16 20:19:49 +00:00
778fda55c4
Accepting request 940915 from home:gladiac:branches:devel:languages:lua
...
- Update to version 2.5.4
o 2.5.4
* `FIX` [#847 ](https://github.com/sumneko/lua-language-server/issues/847 )
* `FIX` [#848 ](https://github.com/sumneko/lua-language-server/issues/848 )
* `FIX` completion: incorrect cache
* `FIX` hover: always view string
o 2.5.3
* `FIX` [#842 ](https://github.com/sumneko/lua-language-server/issues/844 )
* `FIX` [#844 ](https://github.com/sumneko/lua-language-server/issues/844 )
o 2.5.2
* `FIX` [#815 ](https://github.com/sumneko/lua-language-server/issues/815 )
* `FIX` [#825 ](https://github.com/sumneko/lua-language-server/issues/825 )
* `FIX` [#826 ](https://github.com/sumneko/lua-language-server/issues/826 )
* `FIX` [#827 ](https://github.com/sumneko/lua-language-server/issues/827 )
* `FIX` [#831 ](https://github.com/sumneko/lua-language-server/issues/831 )
* `FIX` [#837 ](https://github.com/sumneko/lua-language-server/issues/837 )
* `FIX` [#838 ](https://github.com/sumneko/lua-language-server/issues/838 )
* `FIX` postfix
* `FIX` runtime errors
o 2.5.1
* `FIX` incorrect syntax error
o 2.5.0
* `NEW` settings:
+ `Lua.runtime.pathStrict`: not check subdirectories when using `runtime.path`
+ `Lua.hint.await`: display `await` when calling a function marked as async
+ `Lua.completion.postfix`: the symbol that triggers postfix, default is `@`
* `NEW` add supports for `lovr`
* `NEW` file encoding supports `utf16le` and `utf16be`
* `NEW` full IntelliSense supports for literal tables, see [#720 ](https://github.com/sumneko/lua-language-server/issues/720 ) and [#727 ](https://github.com/sumneko/lua-language-server/issues/727 )
* `NEW` `LuaDoc` annotations:
+ `---@async`: mark a function as async
+ `---@nodiscard`: the return value of the marking function cannot be discarded
* `NEW` diagnostics:
+ `await-in-sync`: check whether calls async function in sync function. disabled by default.
+ `not-yieldable`: check whether the function supports async functions as parameters. disabled by default.
+ `discard-returns`: check whether the return value is discarded.
* `NEW` locale `pt-br`, thanks [Jeferson Ferreira](https://github.com/jefersonf )
* `NEW` supports [utf-8-offsets](https://clangd.llvm.org/extensions#utf-8-offsets )
* `NEW` supports quickfix for `.luarc.json`
* `NEW` completion postifx: `@function`, `@method`, `@pcall`, `@xpcall`, `@insert`, `@remove`, `@concat`, `++`, `++?`
* `CHG` `LuaDoc`:
+ `---@class` can be re-declared
+ supports unicode
+ supports `---@param ... number`, equivalent to `---@vararg number`
+ supports `fun(...: string)`
+ supports `fun(x, y, ...)`, equivalent to `fun(x: any, y: any, ...: any)`
* `CHG` settings from `--configpath`, `.luarc.json`, `client` no longer prevent subsequent settings, instead they are merged in order
* `CHG` no longer asks to trust plugin in VSCode, because VSCode already provides the workspace trust feature
* `CHG` skip huge files (>= 10 MB)
* `CHG` after using `Lua.runtime.nonstandardSymbol` to treat `//` as a comment, `//` is no longer parsed as an operator
o 2.4.11
* `FIX` [#816 ](https://github.com/sumneko/lua-language-server/issues/816 )
* `FIX` [#817 ](https://github.com/sumneko/lua-language-server/issues/817 )
* `FIX` [#818 ](https://github.com/sumneko/lua-language-server/issues/818 )
* `FIX` [#820 ](https://github.com/sumneko/lua-language-server/issues/820 )
o 2.4.10
* `FIX` [#790 ](https://github.com/sumneko/lua-language-server/issues/790 )
* `FIX` [#798 ](https://github.com/sumneko/lua-language-server/issues/798 )
* `FIX` [#804 ](https://github.com/sumneko/lua-language-server/issues/804 )
* `FIX` [#805 ](https://github.com/sumneko/lua-language-server/issues/805 )
* `FIX` [#806 ](https://github.com/sumneko/lua-language-server/issues/806 )
* `FIX` [#807 ](https://github.com/sumneko/lua-language-server/issues/807 )
* `FIX` [#809 ](https://github.com/sumneko/lua-language-server/issues/809 )
o 2.4.9
* `CHG` for performance reasons, some of the features that are not cost-effective in IntelliSense have been disabled by default, and you can re-enable them through the following settings:
+ `Lua.IntelliSense.traceLocalSet`
+ `Lua.IntelliSense.traceReturn`
+ `Lua.IntelliSense.traceBeSetted`
+ `Lua.IntelliSense.traceFieldInject`
o 2.4.8
* `FIX` incorrect IntelliSense in specific situations
* `FIX` [#777 ](https://github.com/sumneko/lua-language-server/issues/777 )
* `FIX` [#778 ](https://github.com/sumneko/lua-language-server/issues/778 )
* `FIX` [#779 ](https://github.com/sumneko/lua-language-server/issues/779 )
* `FIX` [#780 ](https://github.com/sumneko/lua-language-server/issues/780 )
o 2.4.7
* `FIX` [#762 ](https://github.com/sumneko/lua-language-server/issues/762 )
o 2.4.6
* `NEW` diagnostic: `redundant-return`
* `FIX` [#744 ](https://github.com/sumneko/lua-language-server/issues/744 )
* `FIX` [#748 ](https://github.com/sumneko/lua-language-server/issues/748 )
* `FIX` [#749 ](https://github.com/sumneko/lua-language-server/issues/749 )
* `FIX` [#752 ](https://github.com/sumneko/lua-language-server/issues/752 )
* `FIX` [#753 ](https://github.com/sumneko/lua-language-server/issues/753 )
* `FIX` [#756 ](https://github.com/sumneko/lua-language-server/issues/756 )
* `FIX` [#758 ](https://github.com/sumneko/lua-language-server/issues/758 )
* `FIX` [#760 ](https://github.com/sumneko/lua-language-server/issues/760 )
o 2.4.5
`2021-10-18`
* `FIX` accidentally load lua files from user workspace
o 2.4.4
* `CHG` improve `.luarc.json`
* `FIX` [#722 ](https://github.com/sumneko/lua-language-server/issues/722 )
o 2.4.3
* `FIX` [#713 ](https://github.com/sumneko/lua-language-server/issues/713 )
* `FIX` [#718 ](https://github.com/sumneko/lua-language-server/issues/718 )
* `FIX` [#719 ](https://github.com/sumneko/lua-language-server/issues/719 )
* `FIX` [#725 ](https://github.com/sumneko/lua-language-server/issues/725 )
* `FIX` [#729 ](https://github.com/sumneko/lua-language-server/issues/729 )
* `FIX` [#730 ](https://github.com/sumneko/lua-language-server/issues/730 )
* `FIX` runtime errors
o 2.4.2
* `FIX` [#702 ](https://github.com/sumneko/lua-language-server/issues/702 )
* `FIX` [#706 ](https://github.com/sumneko/lua-language-server/issues/706 )
* `FIX` [#707 ](https://github.com/sumneko/lua-language-server/issues/707 )
* `FIX` [#709 ](https://github.com/sumneko/lua-language-server/issues/709 )
* `FIX` [#712 ](https://github.com/sumneko/lua-language-server/issues/712 )
o 2.4.1
* `FIX` broken with single file
* `FIX` [#698 ](https://github.com/sumneko/lua-language-server/issues/698 )
* `FIX` [#699 ](https://github.com/sumneko/lua-language-server/issues/699 )
o 2.4.0
* `NEW` loading settings from `.luarc.json`
* `NEW` settings:
+ `Lua.diagnostics.libraryFiles`
+ `Lua.diagnostics.ignoredFiles`
+ `Lua.completion.showWord`
+ `Lua.completion.requireSeparator`
* `NEW` diagnostics:
+ `different-requires`
* `NEW` `---@CustomClass<string, number>`
* `NEW` supports `$/cancelRequest`
* `NEW` `EventEmitter`
```lua
--- @class Emit
--- @field on fun(eventName: string, cb: function)
--- @field on fun(eventName: '"died"', cb: fun(i: integer))
--- @field on fun(eventName: '"won"', cb: fun(s: string))
local emit = {}
emit:on(--[[support autocomplete fr "died" and "won"]])
emit:on("died", function (i)
-- should be i: integer
end)
emit:on('won', function (s)
-- should be s: string
end)
```
* `NEW` `---@module 'moduleName'`
```lua
---@module 'mylib'
local lib -- the same as `local lib = require 'mylib'`
```
* `NEW` add supports of `skynet`
* `CHG` hover: improve showing multi defines
* `CHG` hover: improve showing multi comments at enums
* `CHG` hover: shows method
* `CHG` hint: `Lua.hint.paramName` now supports `Disable`, `Literal` and `All`
* `CHG` only search first file by `require`
* `CHG` no longer infer by usage
* `CHG` no longer ignore file names case in Windows
* `CHG` watching library changes
* `CHG` completion: improve misspelling results
* `CHG` completion: `Lua.completion.displayContext` default to `0`
* `CHG` completion: `autoRequire` has better inserting position
* `CHG` diagnostics:
+ `redundant-parameter` default severity to `Warning`
+ `redundant-value` default severity to `Warning`
* `CHG` infer: more strict of calculation results
* `CHG` [#663 ](https://github.com/sumneko/lua-language-server/issues/663 )
* `FIX` runtime errors
* `FIX` hint: may show param-2 as `self`
* `FIX` semantic: may fail when scrolling
* `FIX` [#647 ](https://github.com/sumneko/lua-language-server/issues/647 )
* `FIX` [#660 ](https://github.com/sumneko/lua-language-server/issues/660 )
* `FIX` [#673 ](https://github.com/sumneko/lua-language-server/issues/673 )
o 2.3.7
* `CHG` improve performance
* `FIX` [#244 ](https://github.com/sumneko/lua-language-server/issues/244 )
o 2.3.6
* `FIX` completion: can not find global fields
* `FIX` globals and class may lost
o 2.3.5
* `CHG` improve memory usage
* `CHG` completion: call snip triggers signature (VSCode only)
* `FIX` completion: may not find results
o 2.3.4
* `CHG` improve performance
* `FIX` [#625 ](https://github.com/sumneko/lua-language-server/issues/625 )
o 2.3.3
* `NEW` config supports prop
* `FIX` [#612 ](https://github.com/sumneko/lua-language-server/issues/612 )
* `FIX` [#613 ](https://github.com/sumneko/lua-language-server/issues/613 )
* `FIX` [#618 ](https://github.com/sumneko/lua-language-server/issues/618 )
* `FIX` [#620 ](https://github.com/sumneko/lua-language-server/issues/620 )
o 2.3.2
* `NEW` `LuaDoc`: supports `['string']` as field:
```lua
---@class keyboard
---@field ['!'] number
---@field ['?'] number
---@field ['#'] number
```
* `NEW` add supports of `love2d`
* `FIX` gitignore pattern `\` broken initialization
* `FIX` runtime errors
o 2.3.1
* `NEW` setting `Lua.workspace.userThirdParty`, add private user [third-parth](https://github.com/sumneko/lua-language-server/tree/master/meta/3rd ) by this setting
* `CHG` path in config supports `~/xxxx`
* `FIX` `autoRequire` inserted incorrect code
* `FIX` `autoRequire` may provide dumplicated options
* `FIX` [#606 ](https://github.com/sumneko/lua-language-server/issues/606 )
* `FIX` [#607 ](https://github.com/sumneko/lua-language-server/issues/607 )
- Removed obsolete fix_i586_test.patch
OBS-URL: https://build.opensuse.org/request/show/940915
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=9
2021-12-16 17:29:23 +00:00
b00e5d62ff
Accepting request 906770 from devel:languages:lua
...
Could be quite useful for supporting Lua development on openSUSE
OBS-URL: https://build.opensuse.org/request/show/906770
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-language-server?expand=0&rev=1
2021-07-17 21:36:39 +00:00
e38c16b83a
Truly add obscpio
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=7
2021-07-17 06:08:50 +00:00
124080d857
Back to obscpio
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=6
2021-07-17 06:06:48 +00:00
ad34dd57ab
Remove obscpio file
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=5
2021-07-16 21:53:25 +00:00
02c36c561b
Yes, tar_scm is theoretically deprecated, but OBS still requires a tarball.
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=4
2021-07-16 21:52:29 +00:00
cce12d23b9
Add fix_i586_test.patch to switch off testing architecture in bee.lua
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=3
2021-07-16 18:17:32 +00:00
9af1967ccd
Accepting request 906671 from home:gladiac
...
- Update to version 2.3.0
- https://github.com/sumneko/lua-language-server/blob/2.3.0/changelog.md
- Use obs_scm in _service file (tar_scm is deprecated)
OBS-URL: https://build.opensuse.org/request/show/906671
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=2
2021-07-16 16:34:07 +00:00
a6c6b5b3a6
Accepting request 906549 from home:gladiac
...
Add lua-language-server which could be use with neovim ...
OBS-URL: https://build.opensuse.org/request/show/906549
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-language-server?expand=0&rev=1
2021-07-16 09:23:12 +00:00