Closed gilfuser closed 1 year ago
@gilfuser Hi, thanks for the report!
Error executing Lua callback: ...vim/site/pack/packer/start/scnvim/lua/scnvim/postwin.lua:134: Vim(mkview):E32: No file name
The error suggests that the (post window) buffer does not have a name, are you perhaps using some kind of vim session handler plugin that tries to restore previously opened windows/buffers?
Ah... yes I am. I had this piece of code here to make vim remember folds between sessions:
augroup remember_folds
autocmd!
autocmd BufWinLeave * mkview
autocmd BufWinEnter * silent! loadview
augroup END
changing to that solved the problem:
augroup remember_folds
autocmd!
autocmd BufWinLeave ?* mkview | filetype detect
autocmd BufWinEnter ?* silent loadview | filetype detect
augroup END
thank you David!
best regards
Hi there!
After reinstalling scnvim (by mistake) I can't start scnvim anymore. I ran
:checkhealth scnvim
and there's nothing wrong there.If I have in the config file
...which I prefer, and I do
:SCNVimStart
in a .scd file, sclang won't start and I'll get this:Information
Operating system Ubuntu Studio 22.04
SuperCollider version SuperCollider 3.13.0-dev
nvim --version
Features: +acl +iconv +tui See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/home/runner/work/neovim/neovim/build/nvim.AppDir/usr/share/nvim"