home: vim: telescope: set-up 'fzf' matching

This commit is contained in:
Bruno BELANYI 2022-03-07 13:15:36 +01:00
parent 8b4da72c84
commit 9364fe546d
2 changed files with 17 additions and 0 deletions

View file

@ -78,6 +78,7 @@ in
# UX improvements
gitsigns-nvim # Fast git UI integration
which-key-nvim # Show available mappings
telescope-fzf-native-nvim # Use 'fzf' fuzzy matching algorithm
telescope-nvim # Fuzzy finder interface
];

View file

@ -0,0 +1,16 @@
lua << EOF
local telescope = require("telescope")
telescope.setup({
extensions = {
fzf = {
fuzzy = true,
override_generic_sorter = true,
override_file_sorter = true,
case_mode = "smart_case",
},
},
})
telescope.load_extension("fzf")
EOF