summaryrefslogtreecommitdiffstats
path: root/after/plugin/telescope.lua
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2024-02-05 22:30:55 -0500
committerSquibid <me@zacharyscheiman.com>2024-02-05 22:30:55 -0500
commit119127accf284ca1c3163226e070ba3412629993 (patch)
tree3fdf9c96ea29304bd6122e15bb6d435a7c7339f5 /after/plugin/telescope.lua
parentd94b454eb61a0d0a99f9939560506c2db24f3315 (diff)
downloadnvim-119127accf284ca1c3163226e070ba3412629993.tar.gz
nvim-119127accf284ca1c3163226e070ba3412629993.tar.bz2
nvim-119127accf284ca1c3163226e070ba3412629993.zip
un-object orient some functions
Diffstat (limited to 'after/plugin/telescope.lua')
-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',