Skip to content

Using 'function' in a Lua string causes wrong indentation #199223

Open
@GniLudio

Description

@GniLudio

Does this issue occur when all extensions are disabled?: Yes

  • Version: 1.84.2 (user setup)
  • Commit: 1a5daa3
  • Date: 2023-11-09T10:51:52.184Z
  • Electron: 25.9.2
  • ElectronBuildId: 24603566
  • Chromium: 114.0.5735.289
  • Node.js: 18.15.0
  • V8: 11.4.183.29-electron.0
  • OS: Windows_NT x64 10.0.23481

Steps to Reproduce:

  1. Create a Lua file
  2. Create a string which includes function
    • there must be no letter before and after function
  3. Add a newline after the string

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions