nvim-ide icon indicating copy to clipboard operation
nvim-ide copied to clipboard

`:Workspace` command does not work, panels do not load.

Open orcunderscore opened this issue 2 years ago • 1 comments

Hello.

I am pretty new to nvim and I tried to install nvim-ide using nvim-plug. Unfortunately, the :Workspace commands are not loaded and the panels that toggled on in the default config do not appear, when I start nvim. Can someone please have a look at my setup steps and tell me what I am doing wrong?

I have nvim version

NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1692716794

and installed vim-plug following the instructions for nvim in Linux, Unix.

To setup nvim-ide I performed these steps:

  1. Add the following lines to my /home/$USER/.config/nvim
call plug#begin('~/.config/nvim')
Plug 'ldelossa/nvim-ide'
call plug#end()
  1. Start nvim and call :PlugInstall I was not sure what the README means with this
    Call the setup function (optionally with the default config):

I tried a few things but nothing worked. In the end I figured that it just meant using :PlugInstall since that is supposed to setup a plugin.

And I am stuck from there. I did a whole bunch of rebooting of nvim, the terminal, my computer... but that did not help. I am new to nvim or more advanced vi(m), so I don't know where to look right now.

Please help me overcome this noobish issue.

Thanks!

orcunderscore avatar Mar 17 '24 12:03 orcunderscore

Hi. You need to configure the plugin using lua. Nvim by default reads the init.lua or init.vim files in the .config/nvim directory. In the init.vim file you need to run a lua command like :lua require('ide').setup() more here. But init.lua is a Lua script, so you need to install the plugin more here and paste the setup (require('ide').setup....).

konrad-krzak avatar May 22 '24 14:05 konrad-krzak