This commit is contained in:
Nachuan Tang
2023-12-29 19:34:35 +08:00
parent 4c07c4c6a5
commit a311601aea
7 changed files with 31 additions and 34 deletions
@@ -17,19 +17,7 @@ if HasPlug('telescope.nvim') then
return layout
end
telescope.setup {
defaults = {
hidden = true,
vimgrep_arguments = vimgrep_arguments,
file_ignore_patterns = {"node_modules/", ".git/"},
layout_config = {
-- prompt_position = "top",
},
layout_strategy = "horizontal_merged",
},
pickers = {
find_files = {
hidden = true,
},
colorscheme = {
enable_preview = true,
mappings = {
@@ -44,6 +32,15 @@ if HasPlug('telescope.nvim') then
},
}
},
defaults = {
hidden = true,
vimgrep_arguments = vimgrep_arguments,
file_ignore_patterns = {"^node_modules/", "^.git/"},
layout_config = {
-- prompt_position = "top",
},
layout_strategy = "horizontal_merged",
},
extensions = {
fzf = {
fuzzy = true, -- false will only do exact matching