Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在嵌套table中的索引数字错误 #827

Closed
rhcher opened this issue Nov 25, 2021 · 0 comments
Closed

在嵌套table中的索引数字错误 #827

rhcher opened this issue Nov 25, 2021 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@rhcher
Copy link

rhcher commented Nov 25, 2021

Describe the bug
在一个嵌套的表中,里层的表的数字索引在补全和hover中均显示错误。

To Reproduce
Steps to reproduce the behavior:

  1. 打开一个lua文件

  2. 写入如下内容
    image

  3. 此时如果查看变量a的信息
    image
    可以看到数字索引显示错误

  4. 尝试补全
    image
    可以看到补全菜单里显示的也是不正确的

Expected behavior
在嵌套表中显示正确的数字索引

Environment (please complete the following information):

  • OS: wsl2 Arch
  • Is WSL remote? yes
  • Client: neovim native lsp

Additional context

@sumneko sumneko added the bug Something isn't working label Nov 26, 2021
@sumneko sumneko added this to the 2.6.0 milestone Nov 29, 2021
@sumneko sumneko closed this as completed in 8581187 Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants