Skip to content

Lua user snippets context menu is opening when pressing enter #401

@TheHorscht

Description

@TheHorscht

Everytime when pressing enter, the "insert snippet" context menu is opening with my user defined lua snippets.

Steps to reproduce the behavior:

  1. Create a new file with the filename having the .lua extension (bug does not happen with an "Untitled" file, even if language mode is set to lua)
  2. Open it, go to line 1 and press enter

image

Happens even with a very basic snippets file, for example:

{
	"Tostring": {
		"prefix": "ts",
		"body": [
			"tostring($0)",
		],
		"description": "Tostrings"
	}
}

Environment (please complete the following information):

  • OS: Windows 10 Version 10.0.18363 Build 18363
  • Is WSL remote? No idea what that is so I think not.
  • Client: VSCode 1.53.2

No other extensions are enabled. Only happens with the new 1.16.0 version, not the previous 1.15.1, when I go back to the old version again it stops happening.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingupstreamA topic related to an upsteam piece of software, not the language server directly

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions