Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow setting --preview-window to false to not override FZF defaults
Currently when fzf_opts["--preview-window"] is set to false, it works as long as opts.preview_offset is not set. But this is set for grep by default so it throws error. This checks if --preview-window is set before adding preview offset to it.
- Loading branch information