-
Notifications
You must be signed in to change notification settings - Fork 0
/
telescope.lua
56 lines (55 loc) · 1.59 KB
/
telescope.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
return {
{"nvim-telescope/telescope.nvim",
dependencies = {
'nvim-lua/plenary.nvim',
'nvim-lua/popup.nvim',
"nvim-telescope/telescope-bibtex.nvim",
"nvim-telescope/telescope-symbols.nvim",
"nvim-telescope/telescope-media-files.nvim",
},
version = '0.1.5',
opts = {
extensions = {
symbols = {
sources = {
'emoji',
'kaomoji',
},
},
bibtex = {
depth = 1,
custom_formats = {
{
id = "zettel", cite_marker = "#%s"
}
},
format = 'auto',
global_files = {
"~/Dropbox/latex/bibs/clitics.bib",
"~/Dropbox/latex/bibs/syntax.bib",
"~/Dropbox/latex/bibs/philosophy.bib",
"~/Dropbox/latex/bibs/programming.bib",
},
citation_max_auth = 2,
context = false,
context_fallback = true,
wrap = false,
},
media_files = {
filetypes = {
"png",
"webp",
"jpg",
"jpeg",
},
find_cmd = "rg"
}
}
},
config = function (_, opts)
require("telescope").setup(opts)
require("telescope").load_extension("bibtex")
require("telescope").load_extension("media_files")
end
},
}