summaryrefslogtreecommitdiffstats
path: root/after/plugin/telescope.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--after/plugin/telescope.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/after/plugin/telescope.lua b/after/plugin/telescope.lua
index 1f2d34a..31c4a0b 100644
--- a/after/plugin/telescope.lua
+++ b/after/plugin/telescope.lua
@@ -35,7 +35,7 @@ telescope.setup {
preview = {
-- add image previews via chafa
mime_hook = function(filepath, bufnr, opts)
- local is_image = function(filepath)
+ local function is_image(filepath)
local image_extensions = { -- supported image formats
'png',
'jpg',