Closed dmbfm closed 2 years ago
Strange, I can not reproduce
Do you use latest nvim 0.6.x ? what is you lua version?
Sorry, forgot to add this info before! I am using neovim 0.5.1
NVIM v0.5.1
Build type: Release
LuaJIT 2.1.0-beta3
Compilation: clang -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -O2 -DNDEBUG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/tmp/neovim-20210926-83501-wt6eyz/neovim-0.5.1/build/config -I/tmp/neovim-20210926-83501-wt6eyz/neovim-0.5.1/src -I/opt/homebrew/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include -I/opt/homebrew/opt/gettext/include -I/tmp/neovim-20210926-83501-wt6eyz/neovim-0.5.1/build/src/nvim/auto -I/tmp/neovim-20210926-83501-wt6eyz/neovim-0.5.1/build/include
Compiled by brew@HMBRW-A-001-M1-005.local
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.5.1/share/nvim"
Run :checkhealth for more info
Is 0.6.x the recommended version for this plugin?
I pushed a fix for it. Hope it works
Works perfectly now, thanks!!
When programming in golang, whenever I use the
Write([]byte)
function of theWriter
interface I guess this error:Here is a video of when it happens:
https://user-images.githubusercontent.com/8743306/142300931-7c48fda4-d60c-486f-b1b8-075a888e2a46.mov
And here is the log output:
The line numbers are off in the log because I added a log statement:
so that the error is originally on line 398: