mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-13 19:04:36 +02:00
fix(config): fixed issues related to LazyFile. Fixes #1601
This commit is contained in:
parent
a1c5886947
commit
6e0e01f5b4
2 changed files with 34 additions and 11 deletions
|
@ -32,9 +32,6 @@ vim.api.nvim_create_autocmd({ "VimResized" }, {
|
|||
vim.api.nvim_create_autocmd("BufReadPost", {
|
||||
group = augroup("last_loc"),
|
||||
callback = function(event)
|
||||
if event.data and event.data.lazy_file then
|
||||
return
|
||||
end
|
||||
local exclude = { "gitcommit" }
|
||||
local buf = event.buf
|
||||
if vim.tbl_contains(exclude, vim.bo[buf].filetype) then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue