You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
forname, urlinpairs{
gitsigns='https://github.com/lewis6991/gitsigns.nvim',
} dolocalinstall_path=vim.fn.fnamemodify('gitsigns_issue/'..name, ':p')
ifvim.fn.isdirectory(install_path) ==0thenvim.fn.system { 'git', 'clone', '--depth=1', url, install_path }
endvim.opt.runtimepath:append(install_path)
endrequire('gitsigns').setup{
debug_mode=true, -- You must add this to enable debug messages
}
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: