12 lines
298 B
Lua
12 lines
298 B
Lua
vim.api.nvim_create_autocmd("VimEnter", {
|
|
callback = function()
|
|
if vim.fn.argv(0) == 'p' then
|
|
require("plugins/telescope/custom").project_files()
|
|
end
|
|
|
|
if vim.fn.argv(0) == 'f' then
|
|
require("telescope.builtin").live_grep()
|
|
end
|
|
end,
|
|
})
|