小编Dim*_*owo的帖子

望远镜查找文件和实时 grep 不起作用

我正在尝试在 MacOS 13.2.1 上使用 nvim 设置望远镜。我是用打包机安装的。我已经安装了望远镜所需的所有依赖项。并且仍然无法显示find_fileslive_grep搜索任何结果。

\n

这是我在望远镜打包机中的配置

\n
use({ "nvim-telescope/telescope.nvim", branch = "0.1.x", \n    requires = { { "nvim-lua/plenary.nvim" } } \n}) \n
Run Code Online (Sandbox Code Playgroud)\n

这是我的望远镜配置

\n
-- import telescope plugin safely\nlocal telescope_setup, telescope = pcall(require, "telescope")\nif not telescope_setup then\n    return\nend\n\n-- import telescope actions safely\nlocal actions_setup, actions = pcall(require, "telescope.actions")\nif not actions_setup then\n    return\nend\n\n-- configure telescope\ntelescope.setup({\n    -- configure custom mappings\n    defaults = {\n        layout_config = {\n            width = 0.75,\n            prompt_position = "top",\n            preview_cutoff = 120,\n            horizontal …
Run Code Online (Sandbox Code Playgroud)

lua neovim ripgrep telescope.nvim

3
推荐指数
1
解决办法
3918
查看次数

标签 统计

lua ×1

neovim ×1

ripgrep ×1

telescope.nvim ×1