xiota left a comment (geany/geany-plugins#1397)
LGTM... Ready for @b4n review/action.
<details><summary>Tested with script...</summary>
```lua
fileinfo = geany.fileinfo()
if fileinfo then
output = "geany.fileinfo()\n"
output = output .. "name = " .. fileinfo['name'] .. "\n"
output = output .. "path = " .. fileinfo['path'] .. "\n"
output = output .. "ext = " .. fileinfo['ext'] .. "\n"
output = output .. "type = " .. fileinfo['type'] .. "\n"
output = output .. "desc = " .. fileinfo['desc'] .. "\n"
output = output .. "comment_single = " .. fileinfo['comment_single'] .. "\n"
output = output .. "comment_open = " .. fileinfo['comment_open'] .. "\n"
output = output .. "comment_close = " .. fileinfo['comment_close'] .. "\n"
output = output .. "action = " .. fileinfo['action'] .. "\n"
output = output .. "ftid = " .. fileinfo['ftid'] .. "\n"
output = output .. "encoding = " .. fileinfo['encoding'] .. "\n"
if fileinfo['bom'] then
output = output .. "bom = true\n"
else
output = output .. "bom = false\n"
end
if fileinfo['changed'] then
output = output .. "changed = true\n"
else
output = output .. "changed = false\n"
end
if fileinfo['readonly'] then
output = output .. "readonly = true\n"
else
output = output .. "readonly = false\n"
end
geany.status(output)
else
geany.status("geany.fileinfo: nil")
end
```
</details>
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1397#issuecomment-2921254268
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/pull/1397/[email protected]>