mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-25 04:41:46 +00:00
bugfix: moved variable initialization
This commit is contained in:
parent
269cea051e
commit
4d400d1e90
@ -75,6 +75,9 @@ return {
|
|||||||
pcall(require('telescope').load_extension, 'fzf')
|
pcall(require('telescope').load_extension, 'fzf')
|
||||||
pcall(require('telescope').load_extension, 'ui-select')
|
pcall(require('telescope').load_extension, 'ui-select')
|
||||||
|
|
||||||
|
-- See `:help telescope.builtin`
|
||||||
|
local builtin = require 'telescope.builtin'
|
||||||
|
local actions = require 'telescope.actions'
|
||||||
-- Find files parameters
|
-- Find files parameters
|
||||||
local find_command = {
|
local find_command = {
|
||||||
'rg',
|
'rg',
|
||||||
@ -96,10 +99,6 @@ return {
|
|||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
-- See `:help telescope.builtin`
|
|
||||||
local builtin = require 'telescope.builtin'
|
|
||||||
local actions = require 'telescope.actions'
|
|
||||||
|
|
||||||
vim.keymap.set('n', '<leader>sh', builtin.help_tags, { desc = '[S]earch [H]elp' })
|
vim.keymap.set('n', '<leader>sh', builtin.help_tags, { desc = '[S]earch [H]elp' })
|
||||||
vim.keymap.set('n', '<leader>sk', builtin.keymaps, { desc = '[S]earch [K]eymaps' })
|
vim.keymap.set('n', '<leader>sk', builtin.keymaps, { desc = '[S]earch [K]eymaps' })
|
||||||
vim.keymap.set('n', '<leader>sf', function()
|
vim.keymap.set('n', '<leader>sf', function()
|
||||||
|
Loading…
Reference in New Issue
Block a user