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
@@ -719,7 +719,7 @@ Set the path of a previewer file to filter the content of regular files for prev
|
||||
cleaner string (default '') (not called if empty)
|
||||
.EE
|
||||
.PP
|
||||
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.
|
||||
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. 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.
|
||||
.PP
|
||||
.EX
|
||||
promptfmt string (default "\e033[32;1m%u@%h\e033[0m:\e033[34;1m%w/\e033[0m\e033[1m%f\e033[0m")
|
||||
|
||||
Reference in new issue
Block a user