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

File .gitignore causes an error #618

Closed
serg3295 opened this issue Jul 23, 2021 · 0 comments
Closed

File .gitignore causes an error #618

serg3295 opened this issue Jul 23, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@serg3295
Copy link
Contributor

Additional context
The problem has appeared since version 2.3.2

To Reproduce
Steps to reproduce the behavior:

  1. Create empty file a.lua
  2. Create .gitignore with content
./vscode
/*
!a.lua
  1. Open VS Code
  2. Open a.lua
  3. See error

err45

Provide logs

Log path: file:///home/serg/.vscode/extensions/sumneko.lua-2.3.2/server/log/file_home_serg_s.log
script/provider/provider.lua:766: attempt to get length of a nil value
stack traceback:
	[C]: in function 'xpcall'
	script/proto/proto.lua:143: in function <script/proto/proto.lua:122>
[Error - 9:09:40 PM] Request textDocument/semanticTokens/range failed.
  Message: [21:09:40.346][error][#0]: script/provider/provider.lua:766: attempt to get length of a nil value
stack traceback:
	[C]: in function 'xpcall'
	script/proto/proto.lua:143: in function <script/proto/proto.lua:122>

  Code: -32603 

Environment:

  • OS: linux mint
  • Is WSL remote?
  • Client: VSCode
@sumneko sumneko added the bug Something isn't working label Jul 26, 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