aboutsummaryrefslogtreecommitdiffhomepage
path: root/vim/lua/configs
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-07-04 14:00:41 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-07-04 14:00:41 +0800
commit7031bb7e1ac3c26c3e2837b10805c34d399de1fd (patch)
tree7185f80c19f3636e041697ed5138aa49f86c932d /vim/lua/configs
parenta31d8dbea212442e2ed132516e42b72258b2ccd7 (diff)
Update
Diffstat (limited to 'vim/lua/configs')
-rw-r--r--vim/lua/configs/telescope.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/vim/lua/configs/telescope.lua b/vim/lua/configs/telescope.lua
index 6efa391..08c4d10 100644
--- a/vim/lua/configs/telescope.lua
+++ b/vim/lua/configs/telescope.lua
@@ -20,6 +20,9 @@ return {
20 -- other layout configuration here 20 -- other layout configuration here
21 preview_cutoff = 0, 21 preview_cutoff = 0,
22 }, 22 },
23 file_ignore_patterns = {
24 "node_modules"
25 },
23 }, 26 },
24 pickers = { 27 pickers = {
25 buffers = { 28 buffers = {
@@ -40,6 +43,13 @@ return {
40 }, 43 },
41 extensions_list = {}, 44 extensions_list = {},
42 extensions = { 45 extensions = {
46 fzf = {
47 fuzzy = true, -- false will only do exact matching
48 override_generic_sorter = true, -- override the generic sorter
49 override_file_sorter = true, -- override the file sorter
50 case_mode = "smart_case", -- or "ignore_case" or "respect_case"
51 -- the default case_mode is "smart_case"
52 },
43 aerial = { 53 aerial = {
44 -- Display symbols as <root>.<parent>.<symbol> 54 -- Display symbols as <root>.<parent>.<symbol>
45 show_nesting = { 55 show_nesting = {
@@ -50,6 +60,7 @@ return {
50 }, 60 },
51 }, 61 },
52 on_attach = function() 62 on_attach = function()
63 require("telescope").load_extension("fzf")
53 require("telescope").load_extension("aerial") 64 require("telescope").load_extension("aerial")
54 end 65 end
55} 66}