Changing the 'fileformat' option results in the following error message:
Error detected while processing OptionSet Autocommands for "fileformat":
Error executing lua callback: ...ns_issue/gitsigns_issue/gitsigns//lua/gitsigns/async.lua:152: attempt to yield across C-call boundary
stack traceback:
[C]: in function 'yield'
...ns_issue/gitsigns_issue/gitsigns//lua/gitsigns/async.lua:152: in function 'scheduler'
..._issue/gitsigns_issue/gitsigns//lua/gitsigns/manager.lua:425: in function 'schedule'
..._issue/gitsigns_issue/gitsigns//lua/gitsigns/manager.lua:447: in function 'fn'
...issue/gitsigns_issue/gitsigns//lua/gitsigns/debounce.lua:68: in function 'update'
...s_issue/gitsigns_issue/gitsigns//lua/gitsigns/attach.lua:178: in function <...s_issue/gitsigns_issue/gitsigns//lua/gitsigns/attach.lua:171
Neovim version
NVIM v0.10.1
Operating system and version
MacOS 14.6.1
Expected behavior
No response
Actual behavior
When setting the option for the first time, an error is shown.
Minimal config
for name, url in pairs{
gitsigns = 'https://github.com/lewis6991/gitsigns.nvim',
} do
local install_path = vim.fn.fnamemodify('gitsigns_issue/'..name, ':p')
if vim.fn.isdirectory(install_path) == 0 then
vim.fn.system { 'git', 'clone', '--depth=1', url, install_path }
end
vim.opt.runtimepath:append(install_path)
end
require('gitsigns').setup{
debug_mode = true, -- You must add this to enable debug messages
}
Description
Changing the
'fileformat'
option results in the following error message:Neovim version
NVIM v0.10.1
Operating system and version
MacOS 14.6.1
Expected behavior
No response
Actual behavior
When setting the option for the first time, an error is shown.
Minimal config
Steps to reproduce
mkdir gitsigns_issue
cd gitsigns_issue
git init
touch file
git add file
git commit -m 'initial commit'
nvim --clean -u minimal.lua file
:set fileformat=dos
Gitsigns debug messages
No response
Gitsigns cache
No response