This commit is contained in:
Daveanand Mannie
2024-09-04 14:16:53 -04:00
parent 477501e7de
commit 078136af13
2 changed files with 39 additions and 40 deletions

View File

@@ -1,15 +1,15 @@
return {
"nvim-telescope/telescope.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
{
"nvim-telescope/telescope-fzf-native.nvim",
build = "zig build-lib -dynamic -O ReleaseSafe -target x86_64-windows-gnu src/fzf.c -lc -femit-bin=./build/libfzf.dll",
},
"nvim-tree/nvim-web-devicons",
},
"nvim-telescope/telescope.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
{
"nvim-telescope/telescope-fzf-native.nvim",
build = "zig build-lib -dynamic -O ReleaseSafe -target x86_64-windows-gnu src/fzf.c -lc -femit-bin=./build/libfzf.dll",
},
"nvim-tree/nvim-web-devicons",
},
keys = {
keys = {
-- add a keymap to browse plugin files
-- stylua: ignore
{
@@ -17,37 +17,37 @@ return {
function() require("telescope.builtin").find_files({ cwd = require("lazy.core.config").options.root }) end,
desc = "Find Plugin File",
},
},
opts = {
},
opts = {
defaults = {
layout_strategy = "horizontal",
layout_config = { prompt_position = "bottom" },
sorting_strategy = "descending",
winblend = 0,
},
},
config = function()
-- Telescope setup
require("telescope").setup({
-- Telescope configuration
defaults = {
layout_strategy = "horizontal",
layout_config = { prompt_position = "bottom" },
sorting_strategy = "descending",
winblend = 0,
},
},
config = function()
-- Telescope setup
require("telescope").setup {
-- Telescope configuration
defaults = {
layout_strategy = "horizontal",
layout_config = { prompt_position = "bottom" },
sorting_strategy = "descending",
winblend = 0,
vimgrep_arguments = {
'rg',
'--color=never',
'--no-heading',
'--with-filename',
'--line-number',
'--column',
'--smart-case',
},
},
}
-- Load the fzf extension
require("telescope").load_extension("fzf")
end,
vimgrep_arguments = {
"rg",
"--color=never",
"--no-heading",
"--with-filename",
"--line-number",
"--column",
"--smart-case",
},
},
})
-- Load the fzf extension
require("telescope").load_extension("fzf")
end,
}

View File

@@ -3,8 +3,7 @@ require("nvim-treesitter.install").prefer_git = false
return {
{
"nvim-treesitter/nvim-treesitter",
build = function()
end,
build = function() end,
opts = {
highlight = { enable = true },
indent = { enable = true },