canola.nvim/lua
forestchen1224 7cde5aab10
fix: disable_preview respected when preview_method != "load" (#577)
* fix bug of disable_preview

file should not loaded if disable_preview is true

* refeactor function open_preview about disable_preview

switch the condition checking `disable_preview` of `if`
move the longer condition to the `elseif`
swap their repective code blocks to maintain the same functionality

* refactor: simplify conditionals

* fix: missing then

---------

Co-authored-by: Steven Arcangeli <506791+stevearc@users.noreply.github.com>
2025-02-13 14:22:54 -08:00
..
oil fix: disable_preview respected when preview_method != "load" (#577) 2025-02-13 14:22:54 -08:00
resession/extensions cleanup: don't need empty methods in resession extension 2023-09-17 10:10:42 -07:00