The Kakoune plugin system is really easy: any
.kak files anywhere inside
~/.config/kak/autoload will be loaded at startup. So you can stick your own
.kak files in there, or download a plugin and copy it in there, or straight-up
git clone a plugin directly into that directory and it should all work.
However, some people like to automate even these simple steps, so there’s a third-party plugin called plug.kak to help with downloading plugin files in the right place. This plugin adds a new
:plug command you can stick in your
kakrc (or any other plugin) to tell it to download plugins.
*debug* buffer mentions “no such command: ‘plug’” I suspect you’ve tried to follow the plug.kak installation instructions without having plug.kak installed.
I suggest you follow the kak-lsp instructions for pre-built binaries. Once you can run
kak-lsp in a terminal (to verify it’s installed correctly), follow the instructions under Usage to make language-server functionality available in Kakoune.
If you have any more problems, feel free to post more questions!