blob: e6da47806211ea40cbec86947041a948948f3a9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
local m = setmetatable({}, {
__index = function(_, k)
local utils = require "telescope.utils"
utils.notify("builtin", {
msg = string.format(
'You are using an internal interface. Do not use `require("telescope.builtin.git").%s`,'
.. ' please use `require("telescope.builtin").git_%s`! We will remove this endpoint soon!',
k,
k
),
level = "ERROR",
})
return require("telescope.builtin")["git_" .. k]
end,
})
return m
|