occivink / kakoune-snippets

Snippet support for kakoune
The Unlicense
46 stars 6 forks source link

The plugin doesn't work in kak headless session mode #27

Closed vbauerster closed 5 years ago

vbauerster commented 5 years ago

If I run kak in a headless session mode like kak -d -s mysession, then connect to that session with kak -c mysession, none of the plugin related commands work, same with snippet expansion in insert mode - it doesn't work.

occivink commented 5 years ago

Mh that's interesting, but it looks like the only issue is that snippet-directory-reload is not being run; if you run it manually after connecting the plugin should work normally. More specifically, it looks like no KakBegin hook is being run when starting a session via kak -d -s ...

occivink commented 5 years ago

Wait that's not correct, they do get run