You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(refactor): replace util module with env module
## Details
Mostly a rename of:
- `local util = require('render-markdown.core.util')`
- `local Env = require('render-markdown.lib.env')`
Changes include:
- Use a nested class structure rather than supplying `variant`
parameters to functions, i.e. `util.get('win', win, 'diff')` ->
`Env.win.get(win, 'diff')`
- Consists of `row`, `mode`, `buf`, and `win` nested classes
- Move `file_name` method into `log` module directly since it's the only
user of it
- Add `conceal_lines` validation in `opts` (currently no rendering uses
this), update format of associated errors
0 commit comments