added menufacture
This commit is contained in:
parent
99690477af
commit
bc278c2a62
@ -56,9 +56,9 @@
|
|||||||
"plenary.nvim": { "branch": "master", "commit": "9a0d3bf7b832818c042aaf30f692b081ddd58bd9" },
|
"plenary.nvim": { "branch": "master", "commit": "9a0d3bf7b832818c042aaf30f692b081ddd58bd9" },
|
||||||
"project.nvim": { "branch": "main", "commit": "685bc8e3890d2feb07ccf919522c97f7d33b94e4" },
|
"project.nvim": { "branch": "main", "commit": "685bc8e3890d2feb07ccf919522c97f7d33b94e4" },
|
||||||
"sqlite.lua": { "branch": "master", "commit": "93ff5824682ecc874200e338fd8ca9ccd08508f8" },
|
"sqlite.lua": { "branch": "master", "commit": "93ff5824682ecc874200e338fd8ca9ccd08508f8" },
|
||||||
"statuscol.nvim": { "branch": "main", "commit": "49a3bdab3e9cf23982724c1e888a6296fca4c8b9" },
|
|
||||||
"telescope-dap.nvim": { "branch": "master", "commit": "313d2ea12ae59a1ca51b62bf01fc941a983d9c9c" },
|
"telescope-dap.nvim": { "branch": "master", "commit": "313d2ea12ae59a1ca51b62bf01fc941a983d9c9c" },
|
||||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "580b6c48651cabb63455e97d7e131ed557b8c7e2" },
|
"telescope-fzf-native.nvim": { "branch": "main", "commit": "580b6c48651cabb63455e97d7e131ed557b8c7e2" },
|
||||||
|
"telescope-menufacture": { "branch": "main", "commit": "44aa65bd42290fca37bb466f257295dbc869a13c" },
|
||||||
"telescope-ui-select.nvim": { "branch": "master", "commit": "62ea5e58c7bbe191297b983a9e7e89420f581369" },
|
"telescope-ui-select.nvim": { "branch": "master", "commit": "62ea5e58c7bbe191297b983a9e7e89420f581369" },
|
||||||
"telescope.nvim": { "branch": "master", "commit": "203bf5609137600d73e8ed82703d6b0e320a5f36" },
|
"telescope.nvim": { "branch": "master", "commit": "203bf5609137600d73e8ed82703d6b0e320a5f36" },
|
||||||
"toggleterm.nvim": { "branch": "main", "commit": "19aad0f41f47affbba1274f05e3c067e6d718e1e" },
|
"toggleterm.nvim": { "branch": "main", "commit": "19aad0f41f47affbba1274f05e3c067e6d718e1e" },
|
||||||
|
@ -3,6 +3,7 @@ return {
|
|||||||
dependencies = {
|
dependencies = {
|
||||||
'nvim-lua/plenary.nvim',
|
'nvim-lua/plenary.nvim',
|
||||||
'kyazdani42/nvim-web-devicons',
|
'kyazdani42/nvim-web-devicons',
|
||||||
|
'molecule-man/telescope-menufacture',
|
||||||
{
|
{
|
||||||
'nvim-telescope/telescope-fzf-native.nvim',
|
'nvim-telescope/telescope-fzf-native.nvim',
|
||||||
build = {
|
build = {
|
||||||
@ -19,7 +20,7 @@ return {
|
|||||||
{
|
{
|
||||||
'<leader>f',
|
'<leader>f',
|
||||||
function()
|
function()
|
||||||
require('telescope.builtin').find_files({ no_ignore = true, hidden = true })
|
require('telescope').extensions.menufacture.find_files({ no_ignore = true, hidden = true })
|
||||||
end,
|
end,
|
||||||
desc = 'Find file',
|
desc = 'Find file',
|
||||||
},
|
},
|
||||||
@ -68,7 +69,7 @@ return {
|
|||||||
{
|
{
|
||||||
'<leader>l',
|
'<leader>l',
|
||||||
function()
|
function()
|
||||||
require('telescope.builtin').live_grep()
|
require('telescope').extensions.menufacture.live_grep()
|
||||||
end,
|
end,
|
||||||
desc = 'Search in project',
|
desc = 'Search in project',
|
||||||
},
|
},
|
||||||
@ -89,7 +90,7 @@ return {
|
|||||||
{
|
{
|
||||||
'<leader>d',
|
'<leader>d',
|
||||||
function()
|
function()
|
||||||
require('telescope.builtin').grep_string()
|
require('telescope').extensions.menufacture.grep_string()
|
||||||
end,
|
end,
|
||||||
desc = 'Find in workspace',
|
desc = 'Find in workspace',
|
||||||
},
|
},
|
||||||
@ -113,8 +114,8 @@ return {
|
|||||||
|
|
||||||
Project_files = function()
|
Project_files = function()
|
||||||
local opts = {} -- define here if you want to define something
|
local opts = {} -- define here if you want to define something
|
||||||
local ok = pcall(require 'telescope.builtin'.git_files, opts)
|
local ok = pcall(require('telescope').extensions.menufacture.git_files, opts)
|
||||||
if not ok then require 'telescope.builtin'.find_files(opts) end
|
if not ok then require('telescope').extensions.menufacture.find_files(opts) end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
@ -170,7 +171,7 @@ return {
|
|||||||
previewer = false,
|
previewer = false,
|
||||||
},
|
},
|
||||||
lsp_references = {
|
lsp_references = {
|
||||||
show_line = false;
|
show_line = false,
|
||||||
include_declaration = false,
|
include_declaration = false,
|
||||||
},
|
},
|
||||||
lsp_dynamic_workspace_symbols = {},
|
lsp_dynamic_workspace_symbols = {},
|
||||||
@ -179,11 +180,17 @@ return {
|
|||||||
['ui-select'] = {
|
['ui-select'] = {
|
||||||
require('telescope.themes').get_dropdown {
|
require('telescope.themes').get_dropdown {
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
['menufacture'] = {
|
||||||
|
mappings = {
|
||||||
|
main_menu = { [{ 'n' }] = 'm' },
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
require('telescope').load_extension('ui-select')
|
require('telescope').load_extension('ui-select')
|
||||||
require('telescope').load_extension('fzf')
|
require('telescope').load_extension('fzf')
|
||||||
|
require('telescope').load_extension('menufacture')
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user