dotfiles/.config/nvim/lua/custom-args.lua

12 lines
298 B
Lua
Raw Permalink Normal View History

2023-11-19 10:42:53 +00:00
vim.api.nvim_create_autocmd("VimEnter", {
callback = function()
if vim.fn.argv(0) == 'p' then
require("plugins/telescope/custom").project_files()
2023-11-19 10:42:53 +00:00
end
if vim.fn.argv(0) == 'f' then
require("telescope.builtin").live_grep()
end
end,
})