Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dirman): corrected win width and height calculation
- Use `vim.fn.winheight` ,`vim.fn.winwidth` instead of `vim.opt_local.lines:get()` and `vim.opt_local.columns:get()` to calculate the correct window size. - Note that `vim.opt_local.{cols,lines}` don't take account split panes and extra spaces such as `winbar`, `statusline` and `cmdheight`
- Loading branch information