summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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`.
2022-04-02fix meta debuginfo in jit version--get-all
2022-03-28update submodules最萌小汐
2022-03-28fix test最萌小汐
2022-03-28Merge pull request #1004 from fesily/master最萌小汐
update meta basic.lua
2022-03-28Update basic.lua--get-all
remove whitespace
2022-03-28Update basic.lua--get-all
fix name
2022-03-28Update basic.lua--get-all
fix newproxy return type to userdata
2022-03-28update meta basic.lua--get-all
Document add standard library function [newproxy], although they do not appear in the document
2022-03-25update submodules最萌小汐
2022-03-24fix icon最萌小汐
2022-03-24update submodules最萌小汐
2022-03-19Merge pull request #995 from yoshi1123/incompletefix最萌小汐
Ensure that a completion result has 'isIncomplete'
2022-03-19update submodules最萌小汐
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-12Merge pull request #983 from xiyaowong/patch-2最萌小汐
fixed #976
2022-03-12tweaks alignwongxy
2022-03-12fixed #976wongxy
2022-03-11check nilsumneko
2022-03-092.6.7最萌小汐