magicmonty / sonicpi.nvim

A neovim Plugin for [Sonic Pi](https://sonic-pi.net)
41 stars 7 forks source link

My synthinfo.rb file is in other directory than the plugin expects it to be #2

Open Invertisment opened 2 years ago

Invertisment commented 2 years ago

I get this error:

E5108: Error executing lua ...share/nvim/plugged/sonicpi.nvim/lua/cmp-sonicpi/util.lua:307: bad argument #1 to 'lines' (/usr/lib/sonic-pi/server/ruby/lib/sonicpi/synths/synthinfo.rb: No such file or directory)

My server URL was this: '/usr/lib/sonic-pi/server'

But when I ask where it installed the file it gives me lib directory:

pacman -Ql sonic-pi  | grep synthinfo.rb
sonic-pi /usr/lib/sonic-pi/server/lib/sonicpi/synths/synthinfo.rb

But when I remove the directory as indicated in the tutorial then it finds it correctly, I guess. Not sure yet.