Make telescope have fzf syntax

This commit is contained in:
Tony Blyler 2021-12-08 11:21:12 -05:00
parent f20b276f16
commit 542efacba9
2 changed files with 18 additions and 1 deletions

View file

@ -0,0 +1,14 @@
local telescope = require("telescope")
telescope.setup({
extensions = {
fzf = {
fuzzy = true,
override_generic_sorter = true,
override_file_sorter = true,
case_mode = "smart_case",
},
},
})
telescope.load_extension("fzf")

View file

@ -16,7 +16,9 @@ require "paq" {
"lewis6991/gitsigns.nvim"; -- git gutter "lewis6991/gitsigns.nvim"; -- git gutter
"nvim-lua/plenary.nvim"; -- dependency of lewis6991/gitsigns.nvim, nvim-telescope/telescope.nvim "nvim-lua/plenary.nvim"; -- dependency of lewis6991/gitsigns.nvim, nvim-telescope/telescope.nvim
"nvim-telescope/telescope.nvim"; -- fzf searching "nvim-telescope/telescope.nvim"; -- nice searching
{"nvim-telescope/telescope-fzf-native.nvim", run="zsh -c make"}; -- enable fzf searching for telescope
"phaazon/hop.nvim"; -- easymotion navigation "phaazon/hop.nvim"; -- easymotion navigation
@ -61,4 +63,5 @@ require("plugins.config.lightbulb")
require("plugins.config.lspinstall") require("plugins.config.lspinstall")
require("plugins.config.mini") require("plugins.config.mini")
require("plugins.config.statusline") require("plugins.config.statusline")
require("plugins.config.telescope")
require("plugins.config.treesitter") require("plugins.config.treesitter")