Fix Editor Scripts manual - no ends_with function
Open
- Dominant language
- Python
- Stars
- 146
- Forks
- 128
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 9
Description
In manuals several times a function "ends_with" is used. There is no built-in "ends_with" function:
```
active = function(opts)
local path = editor.get(opts.selection, "path")
return ends_with(path, ".lua") or ends_with(path, ".script")
end,
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.