fix: diagnostic float would not open if scope=cursor (#275)

This commit is contained in:
Steven Arcangeli 2024-01-14 12:34:07 -08:00
parent c4cc8240f1
commit a1af7a1b59
3 changed files with 9 additions and 1 deletions

View file

@ -110,6 +110,7 @@ describe("parser", function()
{
message = "Malformed ID at start of line",
lnum = 0,
end_lnum = 1,
col = 0,
},
}, errors)
@ -126,6 +127,7 @@ describe("parser", function()
{
message = "No filename found",
lnum = 0,
end_lnum = 1,
col = 0,
},
}, errors)
@ -143,6 +145,7 @@ describe("parser", function()
{
message = "Duplicate filename",
lnum = 1,
end_lnum = 2,
col = 0,
},
}, errors)
@ -161,6 +164,7 @@ describe("parser", function()
{
message = "Duplicate filename",
lnum = 1,
end_lnum = 2,
col = 0,
},
}, errors)