mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-06 03:38:16 +00:00
fix(quickfile): don't load when bigfile detected. Fixes #116
This commit is contained in:
parent
198e4b95d5
commit
978424ce28
1 changed files with 3 additions and 0 deletions
|
@ -15,6 +15,9 @@ function M.setup()
|
||||||
if vim.v.vim_did_enter == 1 then
|
if vim.v.vim_did_enter == 1 then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
if vim.bo.filetype == "bigfile" then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
local buf = vim.api.nvim_get_current_buf()
|
local buf = vim.api.nvim_get_current_buf()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue