Skip to content

v4.0.0-rc.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@ul ul released this 07 Jun 03:14
· 1396 commits to master since this release

BREAKING changes:

  • editor.hover option was removed and auto-hover is now disabled by default. To enable it back put lsp-auto-hover-enable to kakrc after kak-lsp --kakoune invocation
  • editor.zero_char_completion option was removed and completion trigger is just a little bit smarter now: it doesn't request autocompletion for whitespace
  • inline diagnostics now use DiagnosticWarning and DiagnosticError faces instead of Information and Error. By default DiagnosticWarning is set to yellow foreground and DiagnosticError is set to red foreground
  • kak-lsp session timeout is now disabled by default and request to stop associated kak-lsp session is sent on end of Kakoune session. To set timeout back please refer kak-lsp.toml. To keep kak-lsp session on Kakoune session end add lsp-stop-on-exit-disable to kakrc after kak-lsp --kakoune invocation

Other improvements:

  • set global lsp_hover_anchor true makes hover info to be displayed anchored to hovered position
  • added docstrings for commands
  • added lsp-capabilities command to show which commands are backed by language capabilities of the current buffer filetype
  • language server errors are now reported back to editor both in *debug* buffer and info box
  • info is shown if language server was not initialized yet
  • added lsp-inline-diagnostics-{enable,disable} commands to toggle inline diagnostics
  • added lsp-stop command to shutdown associated kak-lsp session from within Kakoune