summaryrefslogtreecommitdiff
path: root/script
AgeCommit message (Collapse)Author
2022-04-06Merge commit '63b360689f0c2c99a1ae410518f6866f49972f98' into 3.0最萌小汐
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 diag sorts最萌小汐
2022-04-05fix(completion): limit extra lineskevinhwang91
2022-04-05update最萌小汐
2022-04-05update最萌小汐
2022-04-05update最萌小汐
2022-04-05update最萌小汐
2022-04-05update最萌小汐
2022-04-05update最萌小汐
2022-04-05update最萌小汐
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-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-04#992最萌小汐
using `Snippet` only when `callSnippet` is `Both`
2022-04-04check nil最萌小汐
2022-04-04Merge pull request #1014 from kevinhwang91/truncate-opt-and-variable最萌小汐
feat(completion): truncate arguments for callSnippet
2022-04-04傻逼腾讯云最萌小汐
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-03Merge pull request #1011 from Cassolette/patch-evtemitter-fix最萌小汐
Event emitter support fix
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-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`.
2022-04-01update最萌小汐
2022-04-01update最萌小汐
2022-04-01update最萌小汐
2022-04-01update最萌小汐
2022-04-01update最萌小汐
2022-04-01cleanup最萌小汐
2022-03-31cleanup最萌小汐
2022-03-31cleanup最萌小汐
2022-03-30update最萌小汐
2022-03-30update最萌小汐
2022-03-29update最萌小汐
2022-03-29update最萌小汐
2022-03-29update最萌小汐
2022-03-28update最萌小汐
2022-03-28update最萌小汐
2022-03-25update最萌小汐
2022-03-25cleanup最萌小汐
2022-03-25Merge commit 'f6b9b0e94764b7f950a4a0e7c41df12a75448edf' into 3.0最萌小汐
2022-03-19Ensure that a completion result has 'isIncomplete'yoshi1123
- Any key in the table returned that has a value of 'nil' will be excluded from the response's result, and so it needs to be set to 'false'.
2022-03-15use real path in scanning最萌小汐
non-Windows also check real path
2022-03-12updatesumneko