Environment
Zed 1.15.0
Lua 0.1.10
Lua Language Server 3.19.1
Windows 11
Issue
- open a lua file
- put the cursor at the beginning of a code line
- press ENTER several times quickly
- the current line is intermittently duplicated
- disable lua-language-server
- press ENTER several times quickly
- everything works as expected
This issue is intermittent, so it may take multiple attempts to reproduce.
Test
vim.opt.expandtab = true
vim.opt.shiftwidth = 4
vim.opt.softtabstop = 4
vim.opt.tabstop = 4
This is the neovim init.lua I used to test the issue.
Workaround
{
"languages": {
"Lua": {
"enable_language_server": false,
},
}
}
With lua-language-server disabled, I can no longer reproduce the line duplication.
Environment
Zed 1.15.0
Lua 0.1.10
Lua Language Server 3.19.1
Windows 11
Issue
This issue is intermittent, so it may take multiple attempts to reproduce.
Test
This is the neovim init.lua I used to test the issue.
Workaround
{ "languages": { "Lua": { "enable_language_server": false, }, } }With lua-language-server disabled, I can no longer reproduce the line duplication.