mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +02:00
nvim/lua/config/telescope.lua: fix paths on windows
This commit is contained in:
parent
a5b164c9fe
commit
7e5de861ba
1 changed files with 3 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
return function()
|
return function()
|
||||||
local icons = require("config.icons")
|
local icons = require("config.icons")
|
||||||
local actions = require("telescope.actions")
|
local actions = require("telescope.actions")
|
||||||
|
local path_delim = require("utils.path").delimiter()
|
||||||
|
|
||||||
local dropdown_opts = {
|
local dropdown_opts = {
|
||||||
previewer = false,
|
previewer = false,
|
||||||
|
|
@ -17,8 +18,8 @@ return function()
|
||||||
selection_caret = icons.current .. " ",
|
selection_caret = icons.current .. " ",
|
||||||
multi_icon = icons.selected .. " ",
|
multi_icon = icons.selected .. " ",
|
||||||
file_ignore_patterns = {
|
file_ignore_patterns = {
|
||||||
".git/",
|
".git" .. path_delim,
|
||||||
"node_modules/",
|
"node_modules" .. path_delim,
|
||||||
},
|
},
|
||||||
mappings = {
|
mappings = {
|
||||||
i = {
|
i = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue