We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0730a19 commit dd3dae0Copy full SHA for dd3dae0
CodeFormatLib/src/CodeFormatLib.cpp
@@ -203,11 +203,11 @@ int diagnose_file(lua_State* L)
203
// end table
204
lua_newtable(L);
205
lua_pushstring(L, "line");
206
- lua_pushinteger(L, diagnosticInfo.Range.Start.Line);
+ lua_pushinteger(L, diagnosticInfo.Range.End.Line);
207
lua_rawset(L, -3);
208
209
lua_pushstring(L, "character");
210
- lua_pushinteger(L, diagnosticInfo.Range.Start.Character);
+ lua_pushinteger(L, diagnosticInfo.Range.End.Character);
211
212
213
lua_rawset(L, -3); // set end = {}
0 commit comments