Replies: 2 comments 3 replies
-
您好,我是阮浪,您的邮件我已收到,我会尽快给您回复,请包涵我的小憩
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Am also experiencing trouble with this. Working on nvim-telescope/telescope-fzf-native.nvim#93 and I'm unable to confirm if the local PluginSpec = {
-- Lists of things
'nvim-telescope/telescope.nvim', version = '0.1.0',
dependencies = {
{ 'nvim-lua/plenary.nvim' },
{ 'airtonix/telescope-fzf-native.nvim',
dev = true,
branch = 'feature/69-prebuilt-release-binaries',
build = function()
require('telescope-fzf-native').download_library()
end
}
},
config = function()
-- You dont need to set any of these options. These are the default ones. Only
-- the loading is important
local telescope = require('telescope')
local telescope_builtin = require("telescope.builtin")
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"
}
}
}
-- To get fzf loaded and working with telescope, you need to call
-- load_extension, somewhere after setup function:
telescope.load_extension('fzf')
-- vim.keymap.set('n', '<C-f>', telescope_builtin.find_files, {})
-- vim.keymap.set('n', '<A-f>', telescope_builtin.git_files, {})
-- vim.keymap.set('n', '<leader>ps', function()
-- telescope_builtin.grep_string({ search = vim.fn.input("Grep > ") });
-- end)
vim.keymap.set('n', '<C-p>', telescope_builtin.commands, {})
vim.keymap.set('n', '<leader>ff', telescope_builtin.find_files, {})
vim.keymap.set('n', '<leader>fg', telescope_builtin.live_grep, {})
vim.keymap.set('n', '<leader>fb', telescope_builtin.buffers, {})
vim.keymap.set('n', '<leader>fh', telescope_builtin.help_tags, {})
end
}
return PluginSpec
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to install a local plugin located at
~/nvim-summon/
like this:Lazy is showing that the plugin is loaded, but it doesn't actually work. Did I write the config wrong? The documentation for
dev
is brief and doesn't include any examples.Beta Was this translation helpful? Give feedback.
All reactions