AckslD / muren.nvim

Multiple replacements in neovim
361 stars 4 forks source link

Error on MurenOpen #7

Closed artfulrobot closed 1 year ago

artfulrobot commented 1 year ago

Hi, just installed (with packer) and when I type :MurenOpen I get this error:

Error executing Lua callback: .../nvim/site/pack/packer/start/muren.nvim/lua/muren/ui.lua:245: invalid key: title_pos                               
stack traceback:                                                                                                                                    
        [C]: in function 'nvim_open_win'                                                                                                            
        .../nvim/site/pack/packer/start/muren.nvim/lua/muren/ui.lua:245: in function 'open'                                                         
        ...nvim/site/pack/packer/start/muren.nvim/lua/muren/api.lua:4: in function <...nvim/site/pack/packer/start/muren.nvim/lua/muren/api.lua:3>  
AckslD commented 1 year ago

What neovim version are you on?

artfulrobot commented 1 year ago

@AckslD sorry for not putting this in original text: v0.8.3

AckslD commented 1 year ago

I see, I didn't realise this was added in 0.9 only. I could add a check and not have titles if below 0.9

artfulrobot commented 1 year ago

I'll be on 0.9 before too long, I'm sure. But might be worth adding neovim 0.9+ to the install requirements. Thanks.

AckslD commented 1 year ago

Sounds good, added a note about this.