summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorAotrix <[email protected]>2026-05-16 02:41:16 +0200
committerAotrix <[email protected]>2026-05-16 02:41:16 +0200
commitf4e8a6656dd4a2ca22621eb01d620ad04ef3569b (patch)
treea84439dc8a27b735787b3109349392881189a5d5 /lua
parentca0c4eb54340b55bbe1fb848fd4ffb3dbe30e04d (diff)
Small size in Telescope
Diffstat (limited to 'lua')
-rw-r--r--lua/aotrix/plugins/telescope.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/lua/aotrix/plugins/telescope.lua b/lua/aotrix/plugins/telescope.lua
index e6572d6..9f48a00 100644
--- a/lua/aotrix/plugins/telescope.lua
+++ b/lua/aotrix/plugins/telescope.lua
@@ -29,7 +29,7 @@ return {
prompt_position = "bottom",
width = {padding = 0},
height = {padding = 0},
- preview_width = 0.5
+ preview_width = 0.8
}
},
sorting_strategy = "ascending",
@@ -47,6 +47,11 @@ return {
function()
require("telescope.builtin").find_files()
end)
+ small_font_telescope = function()
+ vim.g.neovide_scale_factor = 0.70
+ end
+ vim.cmd "autocmd User TelescopeFindPre lua small_font_telescope()"
+
vim.keymap.set("n", "<leader>pg", require("telescope").extensions
.live_grep_args.live_grep_args, {noremap = true})