26 lines
863 B
Lua
26 lines
863 B
Lua
require('telescope.actions')
|
|
local trouble = require('trouble.providers.telescope')
|
|
|
|
require('telescope').setup {
|
|
extensions = {
|
|
fzf = {
|
|
fuzzy = true, -- false will only do exact matching
|
|
override_generic_sorter = true, -- override the generic sorter
|
|
override_file_sorter = true, -- override the file sorter
|
|
case_mode = "smart_case", -- or "ignore_case" or "respect_case"
|
|
-- the default case_mode is "smart_case"
|
|
},
|
|
},
|
|
defaults = {
|
|
mappings = {
|
|
i = { ["<c-t>"] = trouble.open_with_trouble },
|
|
n = { ["<c-t>"] = trouble.open_with_trouble },
|
|
},
|
|
},
|
|
}
|
|
|
|
require('telescope').load_extension('fzf')
|
|
require('telescope').load_extension('aerial')
|
|
require('telescope').load_extension('notify')
|
|
require('telescope').load_extension('projects')
|