aboutsummaryrefslogtreecommitdiff
path: root/lua/kickstart/plugins/telescope.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/kickstart/plugins/telescope.lua')
-rw-r--r--lua/kickstart/plugins/telescope.lua18
1 files changed, 9 insertions, 9 deletions
diff --git a/lua/kickstart/plugins/telescope.lua b/lua/kickstart/plugins/telescope.lua
index a88b52b..159971f 100644
--- a/lua/kickstart/plugins/telescope.lua
+++ b/lua/kickstart/plugins/telescope.lua
@@ -12,7 +12,7 @@ return {
branch = '0.1.x',
dependencies = {
'nvim-lua/plenary.nvim',
- { -- If encountering errors, see telescope-fzf-native README for install instructions
+ { -- If encountering errors, see telescope-fzf-native README for installation instructions
'nvim-telescope/telescope-fzf-native.nvim',
-- `build` is used to run some command when the plugin is installed/updated.
@@ -35,19 +35,19 @@ return {
-- it can fuzzy find! It's more than just a "file finder", it can search
-- many different aspects of Neovim, your workspace, LSP, and more!
--
- -- The easiest way to use telescope, is to start by doing something like:
+ -- The easiest way to use Telescope, is to start by doing something like:
-- :Telescope help_tags
--
-- After running this command, a window will open up and you're able to
- -- type in the prompt window. You'll see a list of help_tags options and
+ -- type in the prompt window. You'll see a list of `help_tags` options and
-- a corresponding preview of the help.
--
- -- Two important keymaps to use while in telescope are:
+ -- Two important keymaps to use while in Telescope are:
-- - Insert mode: <c-/>
-- - Normal mode: ?
--
-- This opens a window that shows you all of the keymaps for the current
- -- telescope picker. This is really useful to discover what Telescope can
+ -- Telescope picker. This is really useful to discover what Telescope can
-- do as well as how to actually do it!
-- [[ Configure Telescope ]]
@@ -69,7 +69,7 @@ return {
},
}
- -- Enable telescope extensions, if they are installed
+ -- Enable Telescope extensions if they are installed
pcall(require('telescope').load_extension, 'fzf')
pcall(require('telescope').load_extension, 'ui-select')
@@ -88,14 +88,14 @@ return {
-- Slightly advanced example of overriding default behavior and theme
vim.keymap.set('n', '<leader>/', function()
- -- You can pass additional configuration to telescope to change theme, layout, etc.
+ -- You can pass additional configuration to Telescope to change the theme, layout, etc.
builtin.current_buffer_fuzzy_find(require('telescope.themes').get_dropdown {
winblend = 10,
previewer = false,
})
end, { desc = '[/] Fuzzily search in current buffer' })
- -- Also possible to pass additional configuration options.
+ -- It's also possible to pass additional configuration options.
-- See `:help telescope.builtin.live_grep()` for information about particular keys
vim.keymap.set('n', '<leader>s/', function()
builtin.live_grep {
@@ -104,7 +104,7 @@ return {
}
end, { desc = '[S]earch [/] in Open Files' })
- -- Shortcut for searching your neovim configuration files
+ -- Shortcut for searching your Neovim configuration files
vim.keymap.set('n', '<leader>sn', function()
builtin.find_files { cwd = vim.fn.stdpath 'config' }
end, { desc = '[S]earch [N]eovim files' })