Skip to content

Commit 0678148

Browse files
committed
name the definitions file according to Lua Language Server spec
1 parent 963c6c2 commit 0678148

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1259,7 +1259,7 @@ private void GenerateLuaCatsDefinitionMenuItem_Click(object sender, EventArgs e)
12591259
? Path.GetDirectoryName(LuaImp.ScriptList.Filename)
12601260
: Config!.PathEntries.LuaAbsolutePath();
12611261

1262-
if (this.ShowFileSaveDialog(initDir, initFileName: "BizHawk.lua", fileExt: ".lua", filter: JustScriptsFSFilterSet) is string path)
1262+
if (this.ShowFileSaveDialog(initDir, initFileName: "emuhawk.d.lua", fileExt: ".d.lua", filter: JustScriptsFSFilterSet) is string path)
12631263
{
12641264
File.WriteAllText(path, LuaImp.Docs.ToLuaLanguageServerDefinitions());
12651265
}

0 commit comments

Comments
 (0)