xeluxee / competitest.nvim

CompetiTest.nvim is a Neovim plugin for Competitive Programming: it can manage and check testcases, download problems and contests from online judges and much more
GNU Lesser General Public License v3.0
381 stars 15 forks source link

Commands Are Not Found!!! #38

Closed SHAHNUR00 closed 1 year ago

SHAHNUR00 commented 1 year ago

Add, Edit, Delete Command are not showing when I install them with vim-plug!!!!!!!!!!

xeluxee commented 1 year ago

Please be more exhaustive, what kind of error are you getting? Did you run :PlugInstall? Did you call CompetiTest setup in your config?

And please use a meaningful title when opening an issue.

SHAHNUR00 commented 1 year ago

So I installed competitest.nvim using plug. I ran : PlugInstalland it installed all the necessary files without any error. But when I searched for the commands( :CompetiTestAdd, :CompetiEdit, :CompetiDelete ) then no preview or option was shown unfortunately at the bottom of the Neovim.

Neovim Showing:

Screenshot (2)

xeluxee commented 1 year ago

Did you call CompetiTest setup in your config?

SHAHNUR00 commented 1 year ago

Actually I use vimscript. The setup function is for Lua. Unfortunately I never use lua. If you could help further, I'll be glad.

xeluxee commented 1 year ago

Actually I use vimscript. The setup function is for Lua.

To configure Neovim you can use vimscript and lua at the same time. To use lua inside vimscript you can use lua heredoc block (see :h lua-guide-using-Lua):

lua << EOF
  require('competitest').setup()
EOF

If you're using newer Neovim plugins I suggest you to switch to lua config, since many of them are configured through a lua setup function.

SHAHNUR00 commented 1 year ago

Thank You.