lua api improvements

This commit is contained in:
krzosa
2025-04-30 22:34:00 +02:00
parent dc3861adfe
commit e652d5b0e2
10 changed files with 70 additions and 108 deletions

View File

@@ -20,7 +20,7 @@ function MatchProject(s)
local line, col, s = SkipLineAndColumn(s)
local fp = GetActiveMainWindowBufferDir().."/"..file_path
local fp = GetDir().."/"..file_path
if FileExists(fp) then
return {kind = "text", file_path = fp, line = line, col = col}
end