summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-04-07更新子模块CppCXY
2022-04-07提交修改CppCXY
2022-04-06pcall code_format最萌小汐
2022-04-06test最萌小汐
2022-04-06remove code_format for linux-arm64最萌小汐
2022-04-06ubuntu-20.04最萌小汐
2022-04-06gcc9最萌小汐
2022-04-06remove code_format for now最萌小汐
2022-04-06skip tests最萌小汐
2022-04-06update最萌小汐
2022-04-06test最萌小汐
2022-04-06feat(completion): use Lua code as snippet descriptionkevinhwang91
2022-04-06chore(postfix): pretty postfix descriptionkevinhwang91
Under Lua code, we should remove redundant placeholders. Unfortunately, $%d placeholders will result in empty string.
2022-04-06fix(files): check uri whether equal or notkevinhwang91
2022-04-05#1018 add `inspect.lua`最萌小汐
2022-04-05#1018 cleanup logs最萌小汐
2022-04-05#1018 log level最萌小汐
2022-04-05update submodules最萌小汐
2022-04-05update diag sorts最萌小汐
2022-04-05Merge pull request #1019 from kevinhwang91/fix-displayContext最萌小汐
fix(completion): limit extra lines
2022-04-05fix(completion): limit extra lineskevinhwang91
2022-04-05Merge pull request #1017 from kevinhwang91/fix-trigger-completion最萌小汐
fix(completion): avoid unnecessary file sep as trigger chars
2022-04-04fix(completion): avoid unnecessary file sep as trigger charskevinhwang91
Language clients such as coc.nvim have multiple completion sources that may contain a file path completion source triggered by `/` or `\`. However, if users use the default requireSeparator `.` setting under lua-language-server, type `/` or `\` in a string will fire a lot of unless items whose priority is high than file path items and make file path items at the bottom of candidates.
2022-04-04check nil最萌小汐
2022-04-04Merge pull request #1016 from kevinhwang91/fix-func-arg-for-callSnippet最萌小汐
fix(completion): use args table instead of args string to parse snippet
2022-04-04fix(completion): use args table instead of args string to parse snippetkevinhwang91
For now, we parse the `@param f fun(a: any, b: any)` as two placeholders instead of one. BTW, use table have a slightly better performance than spliting args string.
2022-04-04update changelog最萌小汐
2022-04-04#992最萌小汐
using `Snippet` only when `callSnippet` is `Both`
2022-04-04update readme and changelog最萌小汐
2022-04-04check nil最萌小汐
2022-04-04remove `rcedit`最萌小汐
2022-04-04Merge pull request #1014 from kevinhwang91/truncate-opt-and-variable最萌小汐
feat(completion): truncate arguments for callSnippet
2022-04-04fix(test): add test cases for callSnippetkevinhwang91
2022-04-04傻逼腾讯云最萌小汐
2022-04-04Merge pull request #1010 from kevinhwang91/update-editorconfig最萌小汐
chore(editorconfig): use lf for end_of_line
2022-04-04fix(completion): optional arguments may not continuedkevinhwang91
If the arguments are all optional or variable until the end, we can truncate them directly.
2022-04-03feat(completion): truncate arguments for callSnippetkevinhwang91
The callSnippet always expands all the optional arguments and variable argument that is annoying. To truncate optional arguments and variable arguments help users more frequently use `callSnippet`. We already have the label and signature to get the total arguments. This behavior is like tsserver.
2022-04-03fixes #1012actboy168
2022-04-03Merge pull request #1007 from fesily/master最萌小汐
fix meta debuginfo in jit version
2022-04-03rename `Lua51.lua` to `lua51.lua`最萌小汐
2022-04-03fix #1008 update `lua51.lua`最萌小汐
2022-04-03update submodules最萌小汐
2022-04-03Merge pull request #1011 from Cassolette/patch-evtemitter-fix最萌小汐
Event emitter support fix
2022-04-03Merge pull request #1009 from kevinhwang91/fix-semantic-priority最萌小汐
fix(semantic-tokens): coreect token type priority
2022-04-03fix formattingCrollie Rollz
2022-04-03fix(infer): check second arg for event nameCrollie Rollz
2022-04-03fix(completion): call OOP emitter without colon syntaxCrollie Rollz
2022-04-03fix(completion): OOP emitter should have `self` argCrollie Rollz
3db634a3a2e48a97772065e7e9da4d29a07a8098 Align docFUnc with the call index, rather than assume it's always the 2nd arg (where "self" is concerned this is the 3rd arg)
2022-04-02chore(editorconfig): use lf for end_of_linekevinhwang91
2022-04-02fix(semantic-tokens): coreect token type prioritykevinhwang91
If metatable with `__call` method, adding `@class` and `@type fun()` together for a class make the token be regarded as function, we should make sure `@class` override `@type`.