fix: vim opens telescope when passing -q
This commit is contained in:
parent
286287c63e
commit
3fc02ebff8
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ _:
|
|||
event = [ "VimEnter" ];
|
||||
callback.__raw = ''
|
||||
function()
|
||||
if vim.fn.argc() == 0 then
|
||||
if vim.fn.len(vim.api.nvim_get_vvar("argv")) <= 8 then
|
||||
require("telescope.builtin").find_files()
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue