Associations

Treat other suffixes as Lua

Many engines keep logic in .txt / .bytes — tell the editor to treat them as Lua.

files.associations

Open Settings, search files.associations, and add mappings:

"files.associations": {
  "*.txt": "lua",
  "*.bytes": "lua",
  "*.lua.txt": "lua"
}

Relation to debugging