Guarantee preview/previewClear ordering (#537)
* Use chan struct{} in place of chan bool
* Revert "nav.checkReg now returns a boolean instead of calling nav.preview"
* Guarantee preview/previewClear ordering
* Pass the file path to the cleaner script
This commit is contained in:
1 parent
72567c9237
commit
1e94f4533e
9 files changed
+48
-41
No files matched your search
+3
-2
@@ -638,8 +638,9 @@ displayed as they are when the value of this option is left empty.
|
||||
|
||||
Set the path of a cleaner file. This file will be called if previewing is
|
||||
enabled, the previewer is set, and the previously selected file had its
|
||||
preview cache disabled. The file should be executable. Preview clearing is
|
||||
disabled when the value of this option is left empty.
|
||||
preview cache disabled. The file should be executable. One argument is
|
||||
passed to the file; the path to the file whose preview should be cleaned.
|
||||
Preview clearing is disabled when the value of this option is left empty.
|
||||
|
||||
promptfmt string (default "\033[32;1m%u@%h\033[0m:\033[34;1m%w/\033[0m\033[1m%f\033[0m")
|
||||
|
||||
|
||||
Reference in new issue
Block a user