anuvyklack / pretty-fold.nvim

Foldtext customization in Neovim
Apache License 2.0
441 stars 22 forks source link

issue with Neovim 0.10 #39

Open alxndr opened 5 months ago

alxndr commented 5 months ago

Just upgraded Neovim to 0.10 and then folded a code section in a markdown file, and saw lots of error messages:

:messages
...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:85: dlsym(RTLD_DEFAULT, curwin_col_off): symbol not found
stack traceback:
^I[C]: in function '__index'
^I...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:85: in function <...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:69>
...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:85: dlsym(RTLD_DEFAULT, curwin_col_off): symbol not found
stack traceback:
^I[C]: in function '__index'
^I...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:85: in function <...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:69> functi
on: builtin#18 ...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:85: dlsym(RTLD_DEFAULT, curwin_col_off): symbol not found
stack traceback:
^I[C]: in function '__index'
^I...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:85: in function <...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:69>
...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:85: dlsym(RTLD_DEFAULT, curwin_col_off): symbol not found
stack traceback:
^I[C]: in function '__index'
^I...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:85: in function <...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:69> functi
on: builtin#18 ...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:85: dlsym(RTLD_DEFAULT, curwin_col_off): symbol not found
stack traceback:
^I[C]: in function '__index'
^I...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:85: in function <...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:69> functi
on: builtin#18 ...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:85: dlsym(RTLD_DEFAULT, curwin_col_off): symbol not found
stack traceback:
^I[C]: in function '__index'
^I...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:85: in function <...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:69>
...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:85: dlsym(RTLD_DEFAULT, curwin_col_off): symbol not found
stack traceback:
^I[C]: in function '__index'
^I...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:85: in function <...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:69> functi
on: builtin#18 ...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:85: dlsym(RTLD_DEFAULT, curwin_col_off): symbol not found
stack traceback:
^I[C]: in function '__index'
^I...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:85: in function <...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:69> functi
on: builtin#18 ...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:85: dlsym(RTLD_DEFAULT, curwin_col_off): symbol not found
stack traceback:
^I[C]: in function '__index'
^I...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:85: in function <...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:69> functi
on: builtin#18 ...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:85: dlsym(RTLD_DEFAULT, curwin_col_off): symbol not found
stack traceback:
^I[C]: in function '__index'
^I...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:85: in function <...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:69>
...ack/paqs/start/pretty-fold.nvim/lua/pretty-fold/init.lua:85: dlsym(RTLD_DEFAULT, curwin_col_off): symbol not found
stack traceback:
-- More --
niveK77pur commented 5 months ago

Unsure if related, but my folds look very different to what they looked like prior to 0.10.

For reference, here is my config for this plugin: https://github.com/niveK77pur/nvim/blob/1837edeff2e77df93967c3fff9df26d9d16f0f5c/lua/myplugins/CANDY_pretty-fold.lua

Neovim version 0.9.5 image

Neovim version 0.10.0 Also note the ^I...h which is there sometimes; I do not observe this on folds when disabling the plugin image

bitec0des commented 5 months ago

I'm also getting the same error. This is frustrating!

Duologic commented 5 months ago

Looks related to https://github.com/anuvyklack/pretty-fold.nvim/issues/38

Duologic commented 5 months ago

Probably gets fixed by https://github.com/anuvyklack/pretty-fold.nvim/pull/41/